Cargo Features
[dependencies]
quork = { version = "0.8.1", default-features = false, features = ["std", "all", "macros", "network", "root", "sized_string", "traits", "lock_api", "parking_lot", "spin"] }
- default = all
-
The
all
feature is set by default wheneverquork
is added without
somewhere in the dependency tree.default-features = false - std all root?
- all default = macros, network, root, sized_string, std, traits
- macros all = quork-proc
-
Affects
quork::macros
… - network all
-
Affects
quork::network
,win::network
… - root all = std
-
Affects
win::root
… - sized_string all
-
Affects
quork::sized_string
… - traits all
-
Affects
quork::traits
…
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 implicit feature
-
Enables lock_api
lock_api:
Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.
- parking_lot implicit feature
-
Enables parking_lot
parking_lot:
More compact and efficient implementations of the standard synchronization primitives
Affects
mutex::LockError
… - quork-proc macros?
- spin implicit feature
-
Enables spin
spin:
Spin-based synchronization primitives