Cargo Features
[dependencies]
nospin = { version = "0.2.4", default-features = false, features = ["lazy", "lock_api", "mutex", "once", "rwlock"] }
- default = lazy, lock_api, mutex, once, rwlock
-
These default features are set whenever
nospin
is added without
somewhere in the dependency tree.default-features = false - lazy default = once
-
Enables
Lazy
.Affects
nospin::lazy
… - lock_api default
-
Enables
lock_api
-compatible types that use the primitives in this crate internally.Enables lock_api
Affects
nospin::lock_api
… - mutex default
-
Enables
Mutex
.Affects
nospin::mutex
,nospin::lock_api.Mutex
,nospin::lock_api.MutexGuard
… - once default lazy
-
Enables
Once
.Affects
nospin::once
… - rwlock default
-
Enables
RwLock
.Affects
nospin::rwlock
,nospin::lock_api.RwLock
,nospin::lock_api.RwLockReadGuard
,nospin::lock_api.RwLockWriteGuard
,nospin::lock_api.RwLockUpgradableReadGuard
,nospin::lock_api.MappedRwLockReadGuard
,nospin::lock_api.MappedRwLockWriteGuard
…