Cargo Features
[dependencies]
scaphandre = { version = "1.0.0", default-features = false, features = ["prometheus", "riemann", "json", "containers", "warpten", "prometheuspush", "qemu"] }
- default = containers, json, prometheus, prometheuspush, riemann, warpten
-
These default features are set whenever
scaphandre
is added without
somewhere in the dependency tree.default-features = false - prometheus default = hyper, tokio
-
Affects
exporters::prometheus
… - riemann default = riemann_client
-
Affects
exporters::riemann
… - json default = serde, serde_json
-
Affects
exporters::json
… - containers default = docker-sync, k8s-sync
-
Affects
utils::get_docker_client
,utils::get_kubernetes_client
,utils::ProcessTracker.regex_cgroup_docker
,utils::ProcessTracker.regex_cgroup_kubernetes
,utils::ProcessTracker.regex_cgroup_containerd
… - warpten default = warp10
-
Affects
exporters::warpten
… - prometheuspush default = isahc
-
Affects
exporters::prometheuspush
… - qemu
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.