kube 4.2.0

Kubernetes client and async controller runtime
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89.0"
name = "kube"
version = "4.2.0"
authors = [
    "clux <sszynrae@gmail.com>",
    "Natalie Klestrup Röijezon <nat@nullable.se>",
    "kazk <kazk.dev@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Kubernetes client and async controller runtime"
readme = "README.md"
keywords = [
    "kubernetes",
    "client",
    "runtime",
    "cncf",
]
categories = [
    "network-programming",
    "caching",
    "api-bindings",
    "encoding",
]
license = "Apache-2.0"
repository = "https://github.com/kube-rs/kube"
resolver = "1"

[package.metadata.docs.rs]
features = [
    "client",
    "rustls-tls",
    "openssl-tls",
    "derive",
    "ws",
    "oauth",
    "jsonpatch",
    "admission",
    "runtime",
    "k8s-openapi/latest",
    "unstable-runtime",
    "socks5",
    "http-proxy",
    "cel",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
admission = ["kube-core/admission"]
aws-lc-rs = ["kube-client?/aws-lc-rs"]
cel = ["kube-core/cel"]
client = [
    "kube-client/client",
    "config",
]
config = ["kube-client/config"]
default = [
    "client",
    "rustls-tls",
    "ring",
]
derive = [
    "kube-derive",
    "kube-core/schema",
]
gzip = [
    "kube-client/gzip",
    "client",
]
http-proxy = [
    "kube-client/http-proxy",
    "client",
]
hyper-util-tracing = [
    "kube-client/hyper-util-tracing",
    "client",
]
jsonpatch = ["kube-core/jsonpatch"]
kubelet-debug = [
    "kube-client/kubelet-debug",
    "kube-core/kubelet-debug",
]
oauth = [
    "kube-client/oauth",
    "client",
]
oidc = [
    "kube-client/oidc",
    "client",
]
openssl-tls = [
    "kube-client/openssl-tls",
    "client",
]
ring = ["kube-client?/ring"]
runtime = ["kube-runtime"]
rustls-tls = [
    "kube-client/rustls-tls",
    "client",
]
socks5 = [
    "kube-client/socks5",
    "client",
]
unstable-client = [
    "kube-client/unstable-client",
    "client",
]
unstable-runtime = [
    "kube-runtime/unstable-runtime",
    "runtime",
]
webpki-roots = [
    "kube-client/webpki-roots",
    "client",
]
ws = [
    "kube-client/ws",
    "kube-core/ws",
]

[lib]
name = "kube"
path = "src/lib.rs"

[dependencies.k8s-openapi]
version = "0.28.0"
default-features = false

[dependencies.kube-client]
version = "=4.2.0"
optional = true
default-features = false

[dependencies.kube-core]
version = "=4.2.0"

[dependencies.kube-derive]
version = "=4.2.0"
optional = true

[dependencies.kube-runtime]
version = "=4.2.0"
optional = true

[dev-dependencies.anyhow]
version = "1.0.71"

[dev-dependencies.futures]
version = "0.3.17"
default-features = false

[dev-dependencies.http]
version = "1.1.0"

[dev-dependencies.k8s-openapi]
version = "0.28.0"
features = ["latest"]
default-features = false

[dev-dependencies.schemars]
version = "1.0.0"

[dev-dependencies.serde]
version = "1.0.221"
features = ["derive"]

[dev-dependencies.serde-saphyr]
version = "0.0.29"

[dev-dependencies.serde_json]
version = "1.0.127"

[dev-dependencies.tokio]
version = "1.35"
features = ["full"]

[dev-dependencies.tower-test]
version = "0.4.0"

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"