Cargo Features

kubert has no features set by default.

[dependencies]
kubert = { version = "0.23.0-alpha1", features = ["rustls-tls", "openssl-tls", "admin", "client", "errors", "gzip", "index", "initialized", "lease", "log", "prometheus-client", "requeue", "runtime", "server", "shutdown", "clap"] }
rustls-tls = rustls-pemfile, tokio-rustls

Enables rustls-tls of optional kube-client

openssl-tls = hyper-openssl, once_cell, openssl, tokio-openssl

Enables openssl-tls of optional kube-client

admin runtime? = ahash, bytes, futures-util, http-body-util, tracing

Enables http1 and server of hyper, server of hyper-util, sync of tokio

Affects kubert::admin

client runtime? = bytes, hyper, kube-client, thiserror, tower, tower-http

Enables util of tower

Affects kubert::client

errors runtime? = futures-core, futures-util, pin-project-lite, tracing

Enables time of tokio

Affects kubert::errors

gzip

Enables decompression-gzip of optional tower-http

index = ahash, futures-core, futures-util, kube-core, kube-runtime, parking_lot, tracing

Affects kubert::index

initialized runtime? = futures-core, futures-util, pin-project-lite

Enables sync of tokio

Affects kubert::initialized

lease = backoff, chrono, futures-util, hyper, k8s-openapi, kube-client, kube-core, serde, serde_json, thiserror, tracing

Enables sync of tokio

Affects kubert::lease

log runtime? = thiserror, tracing, tracing-subscriber

Affects kubert::log

prometheus-client

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

Affects runtime::RuntimeMetrics

requeue = futures-core, tracing

Enables macros and sync of tokio, time of tokio-util

Affects kubert::requeue

runtime = admin, client, errors, initialized, kube-core, kube-runtime, log, serde, shutdown, thiserror, tracing

Affects kubert::runtime

server = drain, rustls-pemfile, thiserror, tower, tracing

Enables 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

shutdown runtime? = drain, futures-core, thiserror, tracing

Enables 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.

ahash admin? index?
backoff lease?
bytes admin? client?
drain server? shutdown?
chrono lease?
futures-core errors? index? initialized? requeue? shutdown?
futures-util admin? errors? index? initialized? lease?
http-body-util admin?
hyper admin? client? lease? server?
hyper-openssl openssl-tls?
hyper-util admin? server?
once_cell openssl-tls?
openssl openssl-tls?
parking_lot index?
pin-project-lite errors? initialized?
rustls-pemfile rustls-tls? server?
serde lease? runtime?
serde_json lease?
thiserror client? lease? log? runtime? server? shutdown?
tokio-rustls rustls-tls?
tokio-openssl openssl-tls?
tokio-util requeue?
tower-http client?
tower client? server?
tracing admin? errors? index? lease? log? requeue? runtime? server? shutdown?
tracing-subscriber log?
clap implicit feature

Enables clap

clap:

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

k8s-openapi lease?
kube-client client? lease?
kube-runtime index? runtime?
kube-core index? lease? runtime?