Cargo Features
[dependencies]
wg = { version = "0.9.2", default-features = false, features = ["std", "alloc", "triomphe", "parking_lot", "future", "futures-core"] }
- default = parking_lot, std, triomphe
-
These default features are set whenever
wg
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables optional event-listener, optional futures-core, and optional triomphe
- alloc = crossbeam-utils
- triomphe default
-
Enables triomphe
- parking_lot default
-
Enables parking_lot
- future = event-listener, pin-project-lite
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.
- event-listener future?
- pin-project-lite future?
- futures-core implicit feature
-
Enables futures-core
futures-core:
The core traits and types in for the
futures
library - crossbeam-utils alloc?