[package]
name = "kube"
version = "0.48.0"
description = "Kubernetes client and futures controller runtime"
authors = [
"clux <sszynrae@gmail.com>",
"Teo Klestrup Röijezon <teo@nullable.se>",
"kazk <kazk.dev@gmail.com>",
"ynqa <un.pensiero.vano@gmail.com>",
]
license = "Apache-2.0"
repository = "https://github.com/clux/kube-rs"
readme = "../README.md"
keywords = ["kubernetes", "client", "runtime", "reflector", "informer"]
categories = ["web-programming::http-client"]
edition = "2018"
[features]
default = ["native-tls"]
native-tls = ["openssl", "reqwest/native-tls"]
rustls-tls = ["rustls", "reqwest/rustls-tls"]
derive = ["kube-derive"]
jsonpatch = ["json-patch"]
ws = ["async-tungstenite", "tokio-util"]
ws-native-tls = ["tokio-native-tls", "async-tungstenite/tokio-native-tls"]
ws-rustls-tls = ["tokio-rustls", "async-tungstenite/tokio-rustls"]
[package.metadata.docs.rs]
features = ["derive", "ws", "ws-native-tls"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
base64 = "0.13.0"
chrono = "0.4.19"
dirs = { package = "dirs-next", version = "2.0.0" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"
serde_yaml = "0.8.14"
http = "0.2.2"
url = "2.2.0"
log = "0.4.11"
time = "0.2.23"
either = "1.6.1"
thiserror = "1.0.23"
futures-util = "0.3.8"
futures = "0.3.8"
pem = "0.8.2"
openssl = { version = "0.10.32", optional = true }
rustls = { version = "0.19.0", optional = true }
tokio-native-tls = { version = "0.3.0", optional = true }
tokio-rustls = { version = "0.22.0", optional = true }
bytes = "1.0.0"
Inflector = "0.11.4"
tokio = { version = "1.0.1", features = ["time", "signal", "sync"] }
static_assertions = "1.1.0"
kube-derive = { path = "../kube-derive", version = "^0.48.0", optional = true }
jsonpath_lib = "0.2.6"
tokio-util = { version = "0.6.0", optional = true, features = ["io"] }
json-patch = { version = "0.2.6", optional = true }
[dependencies.async-tungstenite]
version = "0.11.0"
default-features = false
features = ["tokio-runtime"]
optional = true
[dependencies.reqwest]
version = "0.11.0"
default-features = false
features = ["json", "gzip", "stream"]
[dependencies.k8s-openapi]
version = "0.11.0"
default-features = false
features = []
[dev-dependencies]
tempfile = "3.1.0"
tokio = { version = "1.0.1", features = ["full"] }
schemars = "0.8.0"
[dev-dependencies.k8s-openapi]
version = "0.11.0"
default-features = false
features = ["v1_19"]