Cargo Features
[dependencies]
hala-sync = { version = "0.1.6", default-features = false, features = ["trace_lock", "use_parking_lot"] }
- default = trace_lock, use_parking_lot
-
These default features are set whenever
hala-sync
is added without
somewhere in the dependency tree.default-features = false - trace_lock default
- use_parking_lot default = 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.