[package] name = "tracing-mutex" version = "0.1.2" authors = ["Bert Peters "] edition = "2021" license = "MIT OR Apache-2.0" documentation = "https://docs.rs/tracing-mutex" categories = ["concurrency", "development-tools::debugging"] keywords = ["mutex", "rwlock", "once", "thread"] description = "Ensure deadlock-free mutexes by allocating in order, or else." readme = "README.md" repository = "https://github.com/bertptrs/tracing-mutex" [dependencies] lazy_static = "1" lock_api = { version = "0.4", optional = true } parking_lot = { version = "0.11", optional = true } [dev-dependencies] criterion = "0.3" rand = "0.8" [[bench]] name = "mutex" harness = false [features] # Feature names do not match crate names pending namespaced features. lockapi = ["lock_api"] parkinglot = ["parking_lot", "lockapi"]