Cargo Features
[dependencies]
keyed-lock = { version = "0.2.3", default-features = false, features = ["sync", "async", "send_guard"] }
- default = async, sync
-
These default features are set whenever
keyed-lockis added withoutsomewhere in the dependency tree.default-features = false - sync default
-
Affects
keyed-lock::sync… - async default = tokio
-
Affects
keyed-lock::r#async… - send_guard
-
Enables send_guard of parking_lot
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.