Cargo Features
cdl-k8s-core has no features set by default.
[dependencies]
cdl-k8s-core = { version = "0.1.4", features = ["env", "k8s-cluster-domain", "k8s-cluster-name", "k8s-operator", "openapi", "opentelemetry", "opentelemetry-all", "opentelemetry-otlp", "opentelemetry-logs", "opentelemetry-metrics", "opentelemetry-trace", "default-tls", "openssl-tls", "rustls-tls"] }
- env
-
Environment variables
Enables anyhow, async-trait, and tracing
Affects
cdl-k8s-core::env
… - k8s-cluster-domain
-
Kubernetes
Enables tracing, anyhow and resolv-conf, fs of tokio
Affects
cdl-k8s-core::k8s_cluster_domain
… - k8s-cluster-name
-
Enables anyhow, k8s-openapi, kube ^0.96, sha2, and tracing
Affects
cdl-k8s-core::k8s_cluster_name
… - k8s-operator = opentelemetry
-
Enables anyhow, async-trait, futures, k8s-openapi, kube ^0.96, schemars, serde, serde_json, tokio, and tracing
Affects
cdl-k8s-core::k8s_operator
… - openapi
-
OpenAPI
Enables anyhow, byte-unit, email_address, regex, schemars, serde, and url
Affects
cdl-k8s-core::openapi
… - opentelemetry k8s-operator? opentelemetry-all? opentelemetry-logs? opentelemetry-metrics? opentelemetry-otlp? opentelemetry-trace?
-
OpenTelemetry
Enables opentelemetry, tracing, and tracing-subscriber
Affects
cdl-k8s-core::otel
… - opentelemetry-all = opentelemetry, opentelemetry-logs, opentelemetry-metrics, opentelemetry-trace
- opentelemetry-otlp = opentelemetry
-
Enables opentelemetry-appender-tracing, opentelemetry-otlp, opentelemetry_sdk, and tracing-opentelemetry
- opentelemetry-logs opentelemetry-all? = opentelemetry
-
OpenTelemetry pillars and functions
Enables logs of optional opentelemetry-otlp, spec_unstable_logs_enabled of optional opentelemetry_sdk, spec_unstable_logs_enabled of opentelemetry and optional opentelemetry-appender-tracing
- opentelemetry-metrics opentelemetry-all? = opentelemetry
-
Enables metrics of opentelemetry, optional opentelemetry-otlp, optional opentelemetry_sdk, and optional tracing-opentelemetry
tracing-opentelemetry:
Enables support for exporting OpenTelemetry metrics
- opentelemetry-trace opentelemetry-all? = opentelemetry
-
Enables tracing-log of optional tracing-opentelemetry and trace of opentelemetry, optional opentelemetry-otlp, and optional opentelemetry_sdk
opentelemetry-otlp:
telemetry pillars and functions
- default-tls = rustls-tls
-
TLS
- openssl-tls
-
Enables openssl-tls of optional kube ^0.96
kube:
alternative features
- rustls-tls default-tls?
-
Enables rustls-tls of optional kube ^0.96