Cargo Features

[dependencies]
chifu-kube-client = { version = "0.93.2", default-features = false, features = ["rustls-tls", "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 whenever chifu-kube-client is added without default-features = false somewhere in the dependency tree.

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

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 =0.93.1, macros of tokio

Affects subresource::Attach, subresource::Execute, subresource::Portforward, upgrade::UpgradeConnectionError

kubelet-debug = ws

Enables kubelet-debug of kube-core =0.93.1

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

Enables jsonpatch of kube-core =0.93.1

admission

Enables admission of kube-core =0.93.1

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

Enables jsonpath-rust ^0.5.0

tokio-util client
hyper client
hyper-http-proxy http-proxy?
hyper-util client
hyper-rustls rustls-tls?
hyper-socks2 socks5?
tokio-tungstenite ws?

Enables tokio-tungstenite ^0.23.0

tower client

Enables tower ^0.4.13

tower-http client gzip?
hyper-timeout client
tame-oauth oauth?
rand ws?
tracing client config?
hyper-openssl openssl-tls?
form_urlencoded oidc?