Skip to content

Commit

Permalink
fix: Include TLS features for tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
philipcristiano committed Sep 19, 2024
1 parent ba171e2 commit b96dbf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ opentelemetry = { version = "0.24.0", optional = true }
opentelemetry-otlp = { version = "0.17.0", features = ["trace", "grpc-tonic", "http-proto", "reqwest-rustls", "tls", "tls-roots"], optional = true }
opentelemetry-semantic-conventions = { version = "0.16.0", optional = true}
opentelemetry_sdk = { version = "0.24.0", features = ["rt-tokio"], optional = true }
tonic = { version = "0.12.0", features = ["tls", "tls-roots"], optional = true}

tracing-subscriber = { version = "0.3.18", features = ["fmt", "json", "env-filter", "std", "registry"], optional = true }
tracing = { version = "0.1.40", optional = true}
Expand All @@ -39,6 +40,6 @@ chrono = {version = "0.4.38", optional = true}
[features]
all = ["tracing", "oidc", "tracing-http"]
default = ["tracing", "oidc", "tracing-http"]
tracing = ["dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:tracing-subscriber", "dep:tracing", "dep:tracing-opentelemetry", "dep:opentelemetry_sdk"]
tracing = ["dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:tracing-subscriber", "dep:tracing", "dep:tracing-opentelemetry", "dep:opentelemetry_sdk", "dep:tonic"]
oidc = ["dep:anyhow", "dep:chrono", "dep:once_cell", "dep:openidconnect", "dep:serde", "dep:serde_json", "dep:maud", "dep:axum", "dep:tower-cookies", "dep:url", "dep:email_address", "dep:http", "dep:async-trait", "dep:axum-core", "dep:redacted"]
tracing-http = ["tracing", "dep:http", "dep:tower-http"]

0 comments on commit b96dbf7

Please sign in to comment.