Create project
This commit is contained in:
commit
0c9f5e91a3
9 changed files with 55 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/target
|
||||
15
Cargo.lock
generated
Normal file
15
Cargo.lock
generated
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "cove-core"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "cove-server"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "cove-tui"
|
||||
version = "0.1.0"
|
||||
7
Cargo.toml
Normal file
7
Cargo.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[workspace]
|
||||
|
||||
members = [
|
||||
"cove-core",
|
||||
"cove-server",
|
||||
"cove-tui",
|
||||
]
|
||||
6
cove-core/Cargo.toml
Normal file
6
cove-core/Cargo.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[package]
|
||||
name = "cove-core"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
8
cove-core/src/lib.rs
Normal file
8
cove-core/src/lib.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let result = 2 + 2;
|
||||
assert_eq!(result, 4);
|
||||
}
|
||||
}
|
||||
6
cove-server/Cargo.toml
Normal file
6
cove-server/Cargo.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[package]
|
||||
name = "cove-server"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
3
cove-server/src/main.rs
Normal file
3
cove-server/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
6
cove-tui/Cargo.toml
Normal file
6
cove-tui/Cargo.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[package]
|
||||
name = "cove-tui"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
3
cove-tui/src/main.rs
Normal file
3
cove-tui/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue