From fa4b590dfb1dfe0793fa4daab7ec15a9404acc16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Fri, 9 Oct 2020 14:27:19 +0200 Subject: mumd/mumctl workspaces --- Cargo.toml | 13 ++++++------- mumctl/Cargo.toml | 9 +++++++++ mumctl/src/main.rs | 3 +++ mumd/Cargo.toml | 14 ++++++++++++++ mumd/src/main.rs | 3 +++ src/main.rs | 3 --- 6 files changed, 35 insertions(+), 10 deletions(-) create mode 100644 mumctl/Cargo.toml create mode 100644 mumctl/src/main.rs create mode 100644 mumd/Cargo.toml create mode 100644 mumd/src/main.rs delete mode 100644 src/main.rs diff --git a/Cargo.toml b/Cargo.toml index 29512d0..db28621 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,8 @@ -[package] -name = "mum" -version = "0.1.0" -authors = ["Gustav Sörnäs "] -edition = "2018" - # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[dependencies] +[workspace] + +members = [ + "mumd", + "mumctl", +] diff --git a/mumctl/Cargo.toml b/mumctl/Cargo.toml new file mode 100644 index 0000000..77ecf8a --- /dev/null +++ b/mumctl/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "mumctl" +version = "0.1.0" +authors = ["Gustav Sörnäs "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/mumctl/src/main.rs b/mumctl/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/mumctl/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/mumd/Cargo.toml b/mumd/Cargo.toml new file mode 100644 index 0000000..c928db3 --- /dev/null +++ b/mumd/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "mumd" +version = "0.1.0" +authors = ["Gustav Sörnäs "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +#cursive = "0.15" +#daemonize = "0.4" +ipc-channel = "0.14" +serde = { version = "1.0", features = ["derive"] } +clap = "2.33" diff --git a/mumd/src/main.rs b/mumd/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/mumd/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/src/main.rs b/src/main.rs deleted file mode 100644 index e7a11a9..0000000 --- a/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("Hello, world!"); -} -- cgit v1.2.1