Cargo Features
[dependencies]
kube-client = { version = "0.97.0", default-features = false, features = ["rustls-tls", "webpki-roots", "aws-lc-rs", "openssl-tls", "ws", "kubelet-debug", "oauth", "oidc", "gzip", "client", "jsonpatch", "admission", "config", "socks5", "http-proxy", "unstable-client"] }
- default = client
-
The
client
feature is set by default wheneverkube-client
is added without
somewhere in the dependency tree.default-features = false - rustls-tls = hyper-rustls, rustls, rustls-pemfile
-
Enables rustls-tls-native-roots of optional hyper-http-proxy
Affects
config_ext::ConfigExt.rustls_https_connector
,config_ext::ConfigExt.rustls_https_connector_with_connector
,config_ext::ConfigExt.rustls_client_config
,tls::rustls_tls
… - webpki-roots
-
Enables webpki-roots of hyper-rustls
- aws-lc-rs
-
Enables aws-lc-rs of optional rustls
rustls:
Alias because Cargo features commonly use
-
- openssl-tls = hyper-openssl, openssl
-
Affects
config_ext::ConfigExt.openssl_https_connector
,config_ext::ConfigExt.openssl_https_connector_with_connector
,config_ext::ConfigExt.openssl_ssl_connector_builder
,tls::openssl_tls
… - ws kubelet-debug? = client, rand, tokio-tungstenite
-
Enables ws of kube-core, macros of tokio
Affects
subresource::Attach
,subresource::Execute
,subresource::Portforward
,upgrade::UpgradeConnectionError
… - kubelet-debug = ws
-
Enables kubelet-debug of kube-core
- oauth = client, tame-oauth
- oidc = client, form_urlencoded
- gzip = client
-
Enables decompression-gzip of tower-http
- client default gzip? oauth? oidc? ws? = base64, bytes, chrono, config, either, futures, http-body, http-body-util, hyper, hyper-timeout, hyper-util, jsonpath-rust, serde_yaml, tokio, tokio-util, tower, tower-http, tracing
- jsonpatch
- admission
- config client = base64, home, pem, serde_yaml, tracing
- socks5 = hyper-socks2
- http-proxy = hyper-http-proxy
- unstable-client
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.
- base64 client config?
- chrono client
- home config?
- serde_yaml client config?
- http-body client
- http-body-util client
- either client
- futures client
- pem config?
- openssl openssl-tls?
- rustls rustls-tls?
- rustls-pemfile rustls-tls?
- bytes client
- tokio client ws?
- jsonpath-rust client
- tokio-util client
- hyper client
- hyper-http-proxy http-proxy?
- hyper-util client
- hyper-rustls rustls-tls? webpki-roots?
- hyper-socks2 socks5?
- tokio-tungstenite ws?
-
Enables tokio-tungstenite ^0.24.0
- tower client
- tower-http client gzip?
- hyper-timeout client
- tame-oauth oauth?
- rand ws?
- tracing client config?
- hyper-openssl openssl-tls?
- form_urlencoded oidc?