Implement Mutex behaviour for lock_api

This commit is contained in:
2021-05-24 22:03:03 +02:00
parent 08cfb17234
commit 6a3cb83d01
3 changed files with 161 additions and 16 deletions

View File

@@ -13,6 +13,11 @@ repository = "https://github.com/bertptrs/tracing-mutex"
[dependencies]
lazy_static = "1"
lock_api = { version = "0.4", optional = true }
[dev-dependencies]
rand = "0.8"
[features]
# Feature names do not match crate names pending namespaced features.
lockapi = ["lock_api"]