mirror of
https://github.com/vacp2p/zerokit.git
synced 2025-01-22 12:31:06 +00:00
feat(semaphore): Init crate
This commit is contained in:
parent
23171bb041
commit
1d858175fc
8
semaphore/Cargo.toml
Normal file
8
semaphore/Cargo.toml
Normal file
@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "semaphore"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
8
semaphore/src/lib.rs
Normal file
8
semaphore/src/lib.rs
Normal file
@ -0,0 +1,8 @@
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let result = 2 + 2;
|
||||
assert_eq!(result, 4);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user