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 whenever capsule is added without default-features = false somewhere in the dependency tree.

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.

metrics-core metrics
metrics-runtime metrics
criterion testils?

Enables criterion ^0.3

proptest testils?