Cargo Features
[dependencies]
rustix-futex-sync = { version = "0.2.3", default-features = false, features = ["nightly", "atomic_usize", "rustc-dep-of-std", "lock_api"] }
- default = lock_api
-
The
lock_api
feature is set by default wheneverrustix-futex-sync
is added without
somewhere in the dependency tree.default-features = false - nightly
- atomic_usize
-
Enables atomic_usize of optional lock_api
Affects
rustix-futex-sync::ReentrantMutex
,rustix-futex-sync::ReentrantMutexGuard
… - rustc-dep-of-std = compiler_builtins
-
Enables rustc-dep-of-std of rustix and rustc-std-workspace-core
Special dependencies used in rustc-dep-of-std mode.
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- lock_api default
-
Affects
rustix-futex-sync::Mutex
,rustix-futex-sync::RwLock
,rustix-futex-sync::MutexGuard
,rustix-futex-sync::MappedMutexGuard
,rustix-futex-sync::RwLockReadGuard
,rustix-futex-sync::RwLockWriteGuard
,rustix-futex-sync::MappedRwLockReadGuard
,rustix-futex-sync::MappedRwLockWriteGuard
,rustix-futex-sync::ReentrantMutex
,rustix-futex-sync::ReentrantMutexGuard
… - compiler_builtins rustc-dep-of-std?