Cargo Features
[dependencies]
dtn7 = { version = "0.21.0", default-features = false, features = ["tracing", "deadlock_detection", "store_sled", "store_sneakers"] }
- default = store_sled, store_sneakers
-
These default features are set whenever
dtn7
is added without
somewhere in the dependency tree.default-features = false - tracing = console-subscriber
- deadlock_detection
-
Enables deadlock_detection of parking_lot
- store_sled default = sled
- store_sneakers default = d7sneakers
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.