Cargo Features

[dependencies]
kube = { version = "0.88.1", default-features = false, features = ["client", "config", "rustls-tls", "openssl-tls", "ws", "oauth", "oidc", "gzip", "jsonpatch", "admission", "derive", "runtime", "unstable-runtime", "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

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

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.

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