Cargo Features

[dependencies]
service_conventions = { version = "0.0.26", 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 default-features = false somewhere in the dependency tree.

all = oidc, tracing, tracing-http
tracing default all? tracing-http

Enables opentelemetry, opentelemetry-otlp, opentelemetry-semantic-conventions, opentelemetry_sdk, tonic, tracing, tracing-opentelemetry, 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