diff --git a/wakeyclient/Cargo.toml b/waykeyclient/Cargo.toml similarity index 100% rename from wakeyclient/Cargo.toml rename to waykeyclient/Cargo.toml diff --git a/wakeyclient/src/lib.rs b/waykeyclient/src/lib.rs similarity index 100% rename from wakeyclient/src/lib.rs rename to waykeyclient/src/lib.rs diff --git a/wakeyctl/Cargo.lock b/waykeyctl/Cargo.lock similarity index 100% rename from wakeyctl/Cargo.lock rename to waykeyctl/Cargo.lock diff --git a/wakeyctl/Cargo.toml b/waykeyctl/Cargo.toml similarity index 100% rename from wakeyctl/Cargo.toml rename to waykeyctl/Cargo.toml diff --git a/wakeyctl/src/main.rs b/waykeyctl/src/main.rs similarity index 100% rename from wakeyctl/src/main.rs rename to waykeyctl/src/main.rs diff --git a/wakeyd/Cargo.toml b/waykeyd/Cargo.toml similarity index 100% rename from wakeyd/Cargo.toml rename to waykeyd/Cargo.toml diff --git a/wakeyd/src/main.rs b/waykeyd/src/main.rs similarity index 100% rename from wakeyd/src/main.rs rename to waykeyd/src/main.rs diff --git a/waykeyserver/Cargo.toml b/waykeyserver/Cargo.toml new file mode 100644 index 0000000..6ec5458 --- /dev/null +++ b/waykeyserver/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "waykeyserver" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/wakeytypes/src/lib.rs b/waykeyserver/src/lib.rs similarity index 100% rename from wakeytypes/src/lib.rs rename to waykeyserver/src/lib.rs diff --git a/wakeytypes/Cargo.toml b/waykeytypes/Cargo.toml similarity index 100% rename from wakeytypes/Cargo.toml rename to waykeytypes/Cargo.toml diff --git a/waykeytypes/src/lib.rs b/waykeytypes/src/lib.rs new file mode 100644 index 0000000..7d12d9a --- /dev/null +++ b/waykeytypes/src/lib.rs @@ -0,0 +1,14 @@ +pub fn add(left: usize, right: usize) -> usize { + left + right +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn it_works() { + let result = add(2, 2); + assert_eq!(result, 4); + } +}