Compare commits
2 commits
83428f97f5
...
c80fca5b67
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c80fca5b67 | ||
|
|
286f6523d7 |
4 changed files with 13 additions and 13 deletions
9
Cargo.lock
generated
9
Cargo.lock
generated
|
|
@ -5,6 +5,9 @@ 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"
|
||||||
|
|
@ -13,3 +16,9 @@ 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,3 +1,6 @@
|
||||||
[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,3 +4,4 @@ version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
uuid.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1 @@
|
||||||
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