Cargo Features
[dependencies]
service_conventions = { version = "0.0.23", default-features = false, features = ["all", "tracing", "oidc", "tracing-http"] }
- default = oidc, tracing, tracing-http
-
These default features are set whenever
service_conventions
is added without
somewhere in the dependency tree.default-features = false - all = oidc, tracing, tracing-http
- tracing default all? tracing-http
-
Enables opentelemetry ^0.26.0, opentelemetry-otlp ^0.26.0, opentelemetry-semantic-conventions ^0.26.0, opentelemetry_sdk ^0.26.0, tonic, tracing, tracing-opentelemetry ^0.27.0, and tracing-subscriber
Affects
service_conventions::tracing
… - oidc default all?
-
Enables anyhow, async-trait, axum, axum-core, chrono, email_address, http, maud, once_cell, openidconnect, redacted, serde, serde_json, tower-cookies, and url
Affects
service_conventions::oidc
… - tracing-http default all? = tracing
-
Enables http and tower-http
Affects
service_conventions::tracing_http
…