[package] name = "rustix-futex-sync" version = "0.2.3" authors = [ "Dan Gohman ", ] description = "Linux futex-based synchronization" documentation = "https://docs.rs/rustix-futex-sync" license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/sunfishcode/rustix-futex-sync" edition = "2021" keywords = ["linux", "futex", "condvar", "mutex", "rwlock"] categories = ["concurrency", "os::unix-apis", "no-std"] include = ["src", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md"] rust-version = "1.70" [dependencies] rustix = { version = "0.38.35", default-features = false, features = ["thread", "time"] } lock_api = { version = "0.4.7", default-features = false, optional = true } # Special dependencies used in rustc-dep-of-std mode. core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" } compiler_builtins = { version = "0.1.101", optional = true } [dev-dependencies] rand = "0.8.5" [features] default = ["lock_api"] nightly = ["lock_api?/nightly"] atomic_usize = ["lock_api?/atomic_usize"] rustc-dep-of-std = [ "dep:core", "rustix/rustc-dep-of-std", "compiler_builtins", ] [package.metadata.docs.rs] features = ["atomic_usize"]