Compare commits
No commits in common. "c80fca5b676d79ad27721ce52df545b0fd7faa3b" and "83428f97f5c29a80ba934fdd77e989d4d4cb9cb4" have entirely different histories.
c80fca5b67
...
83428f97f5
4 changed files with 13 additions and 13 deletions
9
Cargo.lock
generated
9
Cargo.lock
generated
|
|
@ -5,9 +5,6 @@ version = 4
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "combustcean-core"
|
name = "combustcean-core"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
|
||||||
"uuid",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "combustcean-range"
|
name = "combustcean-range"
|
||||||
|
|
@ -16,9 +13,3 @@ version = "0.1.0"
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "combustcean-tongs"
|
name = "combustcean-tongs"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "uuid"
|
|
||||||
version = "1.23.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76"
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,3 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
resolver = "3"
|
resolver = "3"
|
||||||
members = ["combustcean-core", "combustcean-range", "combustcean-tongs"]
|
members = ["combustcean-core", "combustcean-range", "combustcean-tongs"]
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
uuid = { version = "1.23.1", default-features = false }
|
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,3 @@ version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
uuid.workspace = true
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue