Cargo Features
[dependencies]
unicycle = { version = "0.10.2", default-features = false, features = ["parking-lot", "futures-rs"] }
- default = futures-rs, parking-lot
-
These default features are set whenever
unicycle
is added without
somewhere in the dependency tree.default-features = false - parking-lot default = lock_api, parking_lot
- futures-rs default = futures-core
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.