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 default-features = false somewhere in the dependency tree.

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.

powercap enrichment-powercap
serde formatter-json
serde_json formatter-json