diff --git a/Cargo.lock b/Cargo.lock index af32c64..25d9807 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5,9 +5,6 @@ version = 4 [[package]] name = "combustcean-core" version = "0.1.0" -dependencies = [ - "uuid", -] [[package]] name = "combustcean-range" @@ -16,9 +13,3 @@ version = "0.1.0" [[package]] name = "combustcean-tongs" version = "0.1.0" - -[[package]] -name = "uuid" -version = "1.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76" diff --git a/Cargo.toml b/Cargo.toml index b5fc2b6..66b8422 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,3 @@ [workspace] resolver = "3" members = ["combustcean-core", "combustcean-range", "combustcean-tongs"] - -[dependencies] -uuid = { version = "1.23.1", default-features = false } diff --git a/combustcean-core/Cargo.toml b/combustcean-core/Cargo.toml index 260fa89..397fbf4 100644 --- a/combustcean-core/Cargo.toml +++ b/combustcean-core/Cargo.toml @@ -4,4 +4,3 @@ version = "0.1.0" edition = "2024" [dependencies] -uuid.workspace = true diff --git a/combustcean-core/src/lib.rs b/combustcean-core/src/lib.rs index 8b13789..b93cf3f 100644 --- a/combustcean-core/src/lib.rs +++ b/combustcean-core/src/lib.rs @@ -1 +1,14 @@ +pub fn add(left: u64, right: u64) -> u64 { + left + right +} +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn it_works() { + let result = add(2, 2); + assert_eq!(result, 4); + } +}