Cargo Features
[dependencies]
statehub-kenie = { version = "0.25.0", default-features = false, features = ["capi", "kubectl", "controller", "rustls-tls", "native-tls", "openssl-tls", "publish"] }
- default = rustls-tls
-
The
rustls-tls
feature is set by default wheneverstatehub-kenie
is added without
somewhere in the dependency tree.default-features = false - capi
-
Enables capi and runtime of statehub-k8s-helper
- kubectl = futures, kube, tokio
-
Enables runtime of statehub-k8s-helper
Affects
statehub-kenie::kubectl
,statehub-kenie::utils
,statehub-kenie::env
… - controller = ahash, async-trait, futures, kube, parking_lot, slug, thiserror, tokio
-
Enables runtime of kube ^0.70 and statehub-k8s-helper
Affects
statehub-kenie::controller
,statehub-kenie::utils
,statehub-kenie::env
… - rustls-tls default
-
Enables rustls-tls of kube ^0.70 and statehub-k8s-helper
- native-tls
-
Enables native-tls of kube ^0.70 and statehub-k8s-helper
- openssl-tls
-
Enables openssl-tls of kube ^0.70 and statehub-k8s-helper
kube:
alternative features
- publish
-
This is ONLY for publishing; don't enable it otherwise
Enables v1_23 of k8s-openapi ^0.14
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.
- async-trait controller?
- futures controller? kubectl?
- ahash controller?
-
Enables ahash ^0.7
- kube controller? kubectl? native-tls? openssl-tls? rustls-tls
-
Enables kube ^0.70
- parking_lot controller?
- slug controller?
- thiserror controller?
-
Enables thiserror ^1.0
- tokio controller? kubectl?