From 9bc7e7251dac6a67a66c70a3c24b2d212e93c277 Mon Sep 17 00:00:00 2001 From: Gary Coady Date: Wed, 15 Jan 2025 22:54:57 +0100 Subject: [PATCH] Remove server feature from tonic in opentelemetry-stackdriver (#148) Co-authored-by: Lalit Kumar Bhasin --- opentelemetry-stackdriver/CHANGELOG.md | 4 ++++ opentelemetry-stackdriver/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/opentelemetry-stackdriver/CHANGELOG.md b/opentelemetry-stackdriver/CHANGELOG.md index edc597a9..719a9107 100644 --- a/opentelemetry-stackdriver/CHANGELOG.md +++ b/opentelemetry-stackdriver/CHANGELOG.md @@ -2,6 +2,10 @@ ## vNext +### Changed + +- Remove `server` feature from tonic dependency + ## v0.24.0 ### Changed diff --git a/opentelemetry-stackdriver/Cargo.toml b/opentelemetry-stackdriver/Cargo.toml index 40fd2e47..dd37ff69 100644 --- a/opentelemetry-stackdriver/Cargo.toml +++ b/opentelemetry-stackdriver/Cargo.toml @@ -20,7 +20,7 @@ opentelemetry-semantic-conventions = { workspace = true} prost = "0.13" prost-types = "0.13" thiserror = "1.0.30" -tonic = { version = "0.12", features = ["gzip", "tls", "transport"] } +tonic = { version = "0.12", default-features = false, features = ["channel", "codegen", "gzip", "prost", "tls"] } once_cell = { version = "1.19", optional = true } tracing = { version = "0.1", optional = true }