Cargo Features

[dependencies]
kube = { version = "0.90.0", default-features = false, features = ["client", "config", "rustls-tls", "openssl-tls", "ws", "kubelet-debug", "oauth", "oidc", "gzip", "jsonpatch", "admission", "derive", "runtime", "unstable-runtime", "unstable-client", "socks5"] }
default = client, rustls-tls

These default features are set whenever kube is added without default-features = false somewhere in the dependency tree.

client default = config

default features

Enables client of kube-client

config client

Enables config of kube-client

rustls-tls default

Enables rustls-tls of kube-client

openssl-tls

alternative features

Enables openssl-tls of kube-client

ws

auxiliary features

Enables ws of kube-client and kube-core

kubelet-debug

Enables kubelet-debug of kube-client and kube-core

oauth

Enables oauth of kube-client

oidc

Enables oidc of kube-client

gzip

Enables gzip of kube-client

jsonpatch

Enables jsonpatch of kube-core

admission

Enables admission of kube-core

derive = kube-derive

Enables schema of kube-core

runtime = kube-runtime
unstable-runtime

Enables unstable-runtime of kube-runtime

unstable-client

Enables unstable-client of kube-client

socks5

Enables socks5 of kube-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.

kube-derive derive?
kube-client client config? gzip? kubelet-debug? oauth? oidc? openssl-tls? rustls-tls socks5? unstable-client? ws?
kube-runtime runtime? unstable-runtime?