mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 05:07:55 +08:00
use cargo workspace feature (#340)
For now, everything has been moved as it is in the "cli" workspace. The next step is to separate the "lib" from the "cli".
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "himalaya-lib"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
@@ -0,0 +1,8 @@
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let result = 2 + 2;
|
||||
assert_eq!(result, 4);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user