# 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 = "2021" rust-version = "1.77.2" name = "kube-client" version = "0.97.0" authors = [ "clux ", "Natalie Klestrup Röijezon ", "kazk ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Kubernetes client" readme = "README.md" keywords = [ "kubernetes", "client", ] categories = [ "web-programming::http-client", "network-programming", "api-bindings", ] license = "Apache-2.0" repository = "https://github.com/kube-rs/kube" resolver = "1" [package.metadata.docs.rs] features = [ "client", "rustls-tls", "openssl-tls", "ws", "oauth", "oidc", "jsonpatch", "admission", "k8s-openapi/latest", "socks5", "unstable-client", "http-proxy", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "kube_client" path = "src/lib.rs" [dependencies.base64] version = "0.22.1" optional = true [dependencies.bytes] version = "1.1.0" optional = true [dependencies.chrono] version = "0.4.34" optional = true default-features = false [dependencies.either] version = "1.6.1" optional = true [dependencies.form_urlencoded] version = "1.2.0" optional = true [dependencies.futures] version = "0.3.17" features = ["std"] optional = true default-features = false [dependencies.home] version = "0.5.4" optional = true [dependencies.http] version = "1.1.0" [dependencies.http-body] version = "1.0.1" optional = true [dependencies.http-body-util] version = "0.1.2" optional = true [dependencies.hyper] version = "1.2.0" features = [ "client", "http1", ] optional = true [dependencies.hyper-http-proxy] version = "1" optional = true default-features = false [dependencies.hyper-openssl] version = "0.10.2" features = ["client-legacy"] optional = true [dependencies.hyper-rustls] version = "0.27.1" features = [ "http1", "logging", "native-tokio", "ring", "tls12", ] optional = true default-features = false [dependencies.hyper-socks2] version = "0.9.0" optional = true default-features = false [dependencies.hyper-timeout] version = "0.5.1" optional = true [dependencies.hyper-util] version = "0.1.9" features = [ "client", "client-legacy", "http1", "tokio", ] optional = true [dependencies.jsonpath-rust] version = "0.7.3" optional = true [dependencies.k8s-openapi] version = "0.23.0" features = [] default-features = false [dependencies.kube-core] version = "=0.97.0" [dependencies.openssl] version = "0.10.36" optional = true [dependencies.pem] version = "3.0.1" optional = true [dependencies.rand] version = "0.8.3" optional = true [dependencies.rustls] version = "0.23.16" optional = true default-features = false [dependencies.rustls-pemfile] version = "2.0.0" optional = true [dependencies.secrecy] version = "0.10.2" [dependencies.serde] version = "1.0.130" features = ["derive"] [dependencies.serde_json] version = "1.0.68" [dependencies.serde_yaml] version = "0.9.19" optional = true [dependencies.tame-oauth] version = "0.10.0" features = ["gcp"] optional = true [dependencies.thiserror] version = "2.0.3" [dependencies.tokio] version = "1.14.0" features = [ "time", "signal", "sync", ] optional = true [dependencies.tokio-tungstenite] version = "0.24.0" optional = true [dependencies.tokio-util] version = "0.7.0" features = [ "io", "codec", ] optional = true [dependencies.tower] version = "0.5.1" features = [ "buffer", "filter", "util", ] optional = true [dependencies.tower-http] version = "0.6.1" features = [ "auth", "map-response-body", "trace", ] optional = true [dependencies.tracing] version = "0.1.36" features = ["log"] optional = true [dev-dependencies.futures] version = "0.3.17" features = ["async-await"] default-features = false [dev-dependencies.hyper] version = "1.2.0" features = ["server"] [dev-dependencies.k8s-openapi] version = "0.23.0" features = ["latest"] default-features = false [dev-dependencies.kube] version = "<1.0.0, >=0.61.0" features = [ "derive", "client", "ws", ] [dev-dependencies.schemars] version = "0.8.6" [dev-dependencies.tempfile] version = "3.1.0" [dev-dependencies.tokio] version = "1.14.0" features = ["full"] [dev-dependencies.tokio-test] version = "0.4.0" [dev-dependencies.tower-test] version = "0.4.0" [features] __non_core = [ "tracing", "serde_yaml", "base64", ] admission = ["kube-core/admission"] aws-lc-rs = ["rustls?/aws-lc-rs"] client = [ "config", "__non_core", "hyper", "hyper-util", "http-body", "http-body-util", "tower", "tower-http", "hyper-timeout", "chrono", "jsonpath-rust", "bytes", "futures", "tokio", "tokio-util", "either", ] config = [ "__non_core", "pem", "home", ] default = ["client"] gzip = [ "client", "tower-http/decompression-gzip", ] http-proxy = ["hyper-http-proxy"] jsonpatch = ["kube-core/jsonpatch"] kubelet-debug = [ "ws", "kube-core/kubelet-debug", ] oauth = [ "client", "tame-oauth", ] oidc = [ "client", "form_urlencoded", ] openssl-tls = [ "openssl", "hyper-openssl", ] rustls-tls = [ "rustls", "rustls-pemfile", "hyper-rustls", "hyper-http-proxy?/rustls-tls-native-roots", ] socks5 = ["hyper-socks2"] unstable-client = [] webpki-roots = ["hyper-rustls/webpki-roots"] ws = [ "client", "tokio-tungstenite", "rand", "kube-core/ws", "tokio/macros", ] [lints.rust] missing_docs = "deny" unsafe_code = "forbid"