diff --git a/examples/tracing-grpc/Cargo.toml b/examples/tracing-grpc/Cargo.toml index c836904a37..1f3ade0c87 100644 --- a/examples/tracing-grpc/Cargo.toml +++ b/examples/tracing-grpc/Cargo.toml @@ -19,7 +19,7 @@ opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["rt-tokio"] opentelemetry-stdout = { path = "../../opentelemetry-stdout", features = ["trace"] } prost = { workspace = true } tokio = { workspace = true, features = ["full"] } -tonic = { workspace = true } +tonic = { workspace = true, features = ["server"] } [build-dependencies] tonic-build = { workspace = true } diff --git a/opentelemetry-otlp/Cargo.toml b/opentelemetry-otlp/Cargo.toml index 35f270c6ce..b202b23013 100644 --- a/opentelemetry-otlp/Cargo.toml +++ b/opentelemetry-otlp/Cargo.toml @@ -51,6 +51,7 @@ opentelemetry_sdk = { features = ["trace", "rt-tokio", "testing"], path = "../op tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } futures-util = { workspace = true } temp-env = { workspace = true } +tonic = { workspace = true, features = ["server"] } [features] # telemetry pillars and functions diff --git a/opentelemetry-proto/Cargo.toml b/opentelemetry-proto/Cargo.toml index 1213d48a5b..64ebf81d7d 100644 --- a/opentelemetry-proto/Cargo.toml +++ b/opentelemetry-proto/Cargo.toml @@ -33,7 +33,7 @@ default = ["full"] full = ["gen-tonic", "trace", "logs", "metrics", "zpages", "with-serde", "internal-logs"] # crates used to generate rs files -gen-tonic = ["gen-tonic-messages", "tonic/transport"] +gen-tonic = ["gen-tonic-messages", "tonic/channel"] gen-tonic-messages = ["tonic", "prost"] # telemetry pillars and functions