Cargo Features
[dependencies]
docker-activity = { version = "1.0.0", default-features = false, features = ["enrichment-powercap", "formatter-csv", "formatter-json"] }
- default = enrichment-powercap, formatter-csv, formatter-json
-
These default features are set whenever
docker-activity
is added without
somewhere in the dependency tree.default-features = false - enrichment-powercap default = powercap
-
Affects
model::Record.cpu_energy
… - formatter-csv default
- formatter-json default = serde, serde_json
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.