summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rwxr-xr-xCargo.toml19
1 files changed, 19 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100755
index 0000000..eb198b4
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,19 @@
+[package]
+name = "sys_locks"
+version = "0.1.0"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+cfg-if = "1"
+libc = "^0.2.155"
+lock_api = { version = "0.4", optional = true }
+no-panic = "0.1"
+
+[dev-dependencies]
+happylock = "0.3"
+
+[features]
+default = ["lock_api"]
+unsafe_lock = []