Cargo Features
[dependencies]
capsule = { version = "0.1.5", default-features = false, features = ["compile_failure", "full", "metrics", "pcap-dump", "testils"] }
- default = metrics
-
The
metrics
feature is set by default whenevercapsule
is added without
somewhere in the dependency tree.default-features = false - compile_failure
-
compiler tests to check mutability rules are followed
- full = metrics, pcap-dump, testils
- metrics default full? = metrics-core, metrics-runtime
-
Affects
capsule::metrics
… - pcap-dump full?
- testils full? = criterion, proptest
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.