Create project

This commit is contained in:
Joscha 2022-02-07 00:19:19 +01:00
commit 0c9f5e91a3
9 changed files with 55 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/target

15
Cargo.lock generated Normal file
View 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
View file

@ -0,0 +1,7 @@
[workspace]
members = [
"cove-core",
"cove-server",
"cove-tui",
]

6
cove-core/Cargo.toml Normal file
View file

@ -0,0 +1,6 @@
[package]
name = "cove-core"
version = "0.1.0"
edition = "2021"
[dependencies]

8
cove-core/src/lib.rs Normal file
View 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
View file

@ -0,0 +1,6 @@
[package]
name = "cove-server"
version = "0.1.0"
edition = "2021"
[dependencies]

3
cove-server/src/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

6
cove-tui/Cargo.toml Normal file
View file

@ -0,0 +1,6 @@
[package]
name = "cove-tui"
version = "0.1.0"
edition = "2021"
[dependencies]

3
cove-tui/src/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}