From 81a6e379a9818b81f2562311c6be8c3fb23dc76b Mon Sep 17 00:00:00 2001 From: edef Date: Fri, 29 Dec 2023 18:28:38 +0000 Subject: [PATCH] chore: upgrade tonic to 0.10 (and upgrade prost to match) Fix #1458 --- examples/tracing-grpc/Cargo.toml | 4 ++-- opentelemetry-otlp/Cargo.toml | 4 ++-- opentelemetry-proto/Cargo.toml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/tracing-grpc/Cargo.toml b/examples/tracing-grpc/Cargo.toml index 6875b64db6d..e4d6366d649 100644 --- a/examples/tracing-grpc/Cargo.toml +++ b/examples/tracing-grpc/Cargo.toml @@ -17,9 +17,9 @@ path = "src/client.rs" opentelemetry = { path = "../../opentelemetry" } opentelemetry_sdk = { path = "../../opentelemetry-sdk", features = ["rt-tokio"]} opentelemetry-stdout = { path = "../../opentelemetry-stdout", features = ["trace"] } -prost = "0.11" +prost = "0.12.3" tokio = { version = "1.28", features = ["full"] } -tonic = "0.9.2" +tonic = "0.10.2" [build-dependencies] tonic-build = "0.9.2" diff --git a/opentelemetry-otlp/Cargo.toml b/opentelemetry-otlp/Cargo.toml index 8ef2a54f28d..2f747f3df89 100644 --- a/opentelemetry-otlp/Cargo.toml +++ b/opentelemetry-otlp/Cargo.toml @@ -35,8 +35,8 @@ opentelemetry-http = { version = "0.10", path = "../opentelemetry-http", optiona opentelemetry-proto = { version = "0.4", path = "../opentelemetry-proto", default-features = false } opentelemetry-semantic-conventions = { version = "0.13", path = "../opentelemetry-semantic-conventions" } -prost = { version = "0.11.0", optional = true } -tonic = { version = "0.9.0", optional = true } +prost = { version = "0.12.3", optional = true } +tonic = { version = "0.10.2", optional = true } tokio = { version = "1.0", features = ["sync", "rt"], optional = true } reqwest = { version = "0.11", optional = true, default-features = false } diff --git a/opentelemetry-proto/Cargo.toml b/opentelemetry-proto/Cargo.toml index cb87d6177ef..3e858c288d4 100644 --- a/opentelemetry-proto/Cargo.toml +++ b/opentelemetry-proto/Cargo.toml @@ -46,8 +46,8 @@ with-serde = ["serde"] [dependencies] grpcio = { version = "0.12", optional = true, features = ["prost-codec"] } -tonic = { version = "0.9.0", default-features = false, optional = true, features = ["codegen", "prost"] } -prost = { version = "0.11.0", optional = true } +tonic = { version = "0.10.2", default-features = false, optional = true, features = ["codegen", "prost"] } +prost = { version = "0.12.3", optional = true } opentelemetry = { version = "0.21", default-features = false, path = "../opentelemetry" } opentelemetry_sdk = { version = "0.21", default-features = false, path = "../opentelemetry-sdk" } schemars = { version = "0.8", optional = true }