From 0c9f5e91a3571bbb3e8bb3481eebc915c8480eca Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 7 Feb 2022 00:19:19 +0100 Subject: [PATCH] Create project --- .gitignore | 1 + Cargo.lock | 15 +++++++++++++++ Cargo.toml | 7 +++++++ cove-core/Cargo.toml | 6 ++++++ cove-core/src/lib.rs | 8 ++++++++ cove-server/Cargo.toml | 6 ++++++ cove-server/src/main.rs | 3 +++ cove-tui/Cargo.toml | 6 ++++++ cove-tui/src/main.rs | 3 +++ 9 files changed, 55 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 cove-core/Cargo.toml create mode 100644 cove-core/src/lib.rs create mode 100644 cove-server/Cargo.toml create mode 100644 cove-server/src/main.rs create mode 100644 cove-tui/Cargo.toml create mode 100644 cove-tui/src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..92cf015 --- /dev/null +++ b/Cargo.lock @@ -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" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..7189df0 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,7 @@ +[workspace] + +members = [ + "cove-core", + "cove-server", + "cove-tui", +] diff --git a/cove-core/Cargo.toml b/cove-core/Cargo.toml new file mode 100644 index 0000000..9da6b42 --- /dev/null +++ b/cove-core/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "cove-core" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/cove-core/src/lib.rs b/cove-core/src/lib.rs new file mode 100644 index 0000000..1b4a90c --- /dev/null +++ b/cove-core/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +} diff --git a/cove-server/Cargo.toml b/cove-server/Cargo.toml new file mode 100644 index 0000000..d3e1c69 --- /dev/null +++ b/cove-server/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "cove-server" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/cove-server/src/main.rs b/cove-server/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/cove-server/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/cove-tui/Cargo.toml b/cove-tui/Cargo.toml new file mode 100644 index 0000000..ae4e3fb --- /dev/null +++ b/cove-tui/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "cove-tui" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/cove-tui/src/main.rs b/cove-tui/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/cove-tui/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}