Cargo Features

kubert has no features set by default.

[dependencies]
kubert = { version = "0.23.0-alpha7", features = ["rustls-tls", "openssl-tls", "admin", "admin-brotli", "admin-gzip", "admin-compression", "client", "client-brotli", "client-gzip", "client-decompression", "errors", "index", "initialized", "lease", "log", "prometheus-client", "requeue", "runtime", "runtime-diagnostics", "runtime-brotli", "runtime-gzip", "runtime-compression", "server", "server-brotli", "server-gzip", "server-compression", "shutdown", "clap"] }
rustls-tls

Enables rustls-pemfile and tokio-rustls, rustls-tls of optional kube-client

openssl-tls

Enables hyper-openssl, once_cell, openssl, and tokio-openssl, openssl-tls of optional kube-client

admin runtime?

Enables thiserror, tracing, ahash, bytes, futures-util, and http-body-util, http1 and server of hyper, server and tokio of hyper-util, sync of tokio, util of tower

Affects kubert::admin

admin-brotli admin-compression? runtime-brotli?

Enables compression-br of tower-http

admin-gzip admin-compression? runtime-gzip?

Enables compression-gzip of tower-http

admin-compression runtime-compression? = admin-brotli, admin-gzip
client runtime?

Enables util of tower, map-response-body of tower-http and bytes, hyper, kube-client, and thiserror

hyper:

Client/Server

Affects kubert::client

client-brotli client-decompression? runtime-brotli?

Enables decompression-br of tower-http

client-gzip client-decompression? runtime-gzip?

Enables decompression-gzip of tower-http

client-decompression runtime-compression? = client-brotli, client-gzip
errors runtime?

Enables tracing, futures-core, futures-util, and pin-project-lite, time of tokio

Affects kubert::errors

index

Enables ahash, futures-core, futures-util, kube-core, kube-runtime, parking_lot, and tracing

Affects kubert::index

initialized runtime?

Enables futures-core, futures-util, and pin-project-lite, sync of tokio

Affects kubert::initialized

lease

Enables tracing, backoff, chrono, futures-util, hyper, k8s-openapi, kube-client, kube-core, serde, serde_json, and thiserror, sync of tokio

Affects kubert::lease

log runtime?

Enables thiserror, tracing, and tracing-subscriber

Affects kubert::log

prometheus-client

Enables kubert-prometheus-process, kubert-prometheus-tokio, and prometheus-client

Affects runtime::RuntimeMetrics

requeue

Enables futures-core, tracing, macros and sync of tokio, time of tokio-util

Affects kubert::requeue

runtime runtime-diagnostics? = admin, client, errors, initialized, log, shutdown

Enables kube-core, kube-runtime, serde, thiserror, and tracing

Affects kubert::runtime

runtime-diagnostics = runtime

Enables chrono, k8s-openapi, parking_lot, serde_json, and sha2

runtime-brotli = admin-brotli, client-brotli
runtime-gzip = admin-gzip, client-gzip
runtime-compression = admin-compression, client-decompression
server

Enables drain, rustls-pemfile and thiserror, tower and tracing, http1, http2 and server of hyper, server, server-auto, server-graceful and service of hyper-util, fs, macros, net and rt of tokio

Affects kubert::server

server-brotli server-compression?

Enables compression-br and decompression-br of tower-http

server-gzip server-compression?

Enables compression-gzip and decompression-gzip of tower-http

server-compression = server-brotli, server-gzip
shutdown runtime?

Enables tracing, drain, futures-core, and thiserror, macros and signal of tokio

Affects kubert::shutdown

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.

hyper-util admin? server?
tokio-util requeue?
tower-http admin-brotli? admin-gzip? client? client-brotli? client-gzip? server-brotli? server-gzip?
clap implicit feature

Enables clap

clap:

A simple to use, efficient, and full-featured Command Line Argument Parser