Cargo Features
[dependencies]
radvisor = { version = "1.3.1", default-features = false, features = ["docker", "kubernetes"] }
- default = docker, kubernetes
-
These default features are set whenever
radvisor
is added without
somewhere in the dependency tree.default-features = false - docker default = futures-01, shiplift, tokio-01
-
Affects
providers::docker
,providers::DockerOptions
… - kubernetes default = k8s-openapi, kube, kube-derive, kube-runtime, tokio-02
-
Affects
providers::kubernetes
,providers::KubernetesOptions
…
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.
- futures-01 docker
-
Enables futures ^0.1
- tokio-01 docker
-
Enables tokio ^0.1
- tokio-02 kubernetes
-
Enables tokio ^0.2
- k8s-openapi kubernetes
-
Enables k8s-openapi ^0.9.0
Kubernetes-specific dependencies
- kube kubernetes
-
Enables kube ^0.43.0
- kube-runtime kubernetes
-
Enables kube-runtime ^0.43.0
- kube-derive kubernetes
-
Enables kube-derive ^0.43.0
- shiplift unix docker
-
Enables shiplift ^0.6.0