Cargo Features

[dependencies]
prosa-utils = { version = "0.1.2", default-features = false, features = ["full", "msg", "config", "config-openssl", "config-observability", "config-observability-prometheus"] }
default = full

The full feature is set by default whenever prosa-utils is added without default-features = false somewhere in the dependency tree.

full default = config, config-observability, config-observability-prometheus, config-openssl, msg
msg full
config config-openssl? full

Enables glob, serde, serde_yaml, and toml

glob:

Config

Affects prosa-utils::config

config-openssl full = config

Enables openssl

Config OpenSSL

Affects config::ssl

config-observability config-observability-prometheus? full

Enables log, opentelemetry ^0.24, opentelemetry-otlp ^0.17, opentelemetry-stdout ^0.5, opentelemetry_sdk ^0.24, tracing-core, tracing-opentelemetry ^0.25, and tracing-subscriber

log:

Config Observability

Affects config::observability, config::tracing

config-observability-prometheus full = config-observability

Enables opentelemetry-prometheus ^0.17, prometheus, and prometheus_exporter

Affects observability::PrometheusExporterCfg