From 8cf2d47bcbe9c3d1317779fb8702d724aa2fb03f Mon Sep 17 00:00:00 2001 From: tottoto Date: Tue, 29 Jul 2025 06:47:34 +0900 Subject: [PATCH] Update to tonic 0.14 --- examples/grpc/Cargo.toml | 9 +++++---- examples/grpc/build.rs | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/grpc/Cargo.toml b/examples/grpc/Cargo.toml index 72292beb..4f97a581 100644 --- a/examples/grpc/Cargo.toml +++ b/examples/grpc/Cargo.toml @@ -8,14 +8,15 @@ publish = false async-stream = "0.3" hyper = "1" hyper-util = { version = "0.1", features = ["tokio"] } -prost = "0.13" +prost = "0.14" tokio = "1" -tonic = "0.13" +tonic = "0.14" +tonic-prost = "0.14" tower = "0.5" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } turmoil = { path = "../.." } [build-dependencies] -tonic-build = "0.13" -protox = "0.8" +tonic-prost-build = "0.14" +protox = "0.9" diff --git a/examples/grpc/build.rs b/examples/grpc/build.rs index d377e361..27b533ff 100644 --- a/examples/grpc/build.rs +++ b/examples/grpc/build.rs @@ -1,4 +1,4 @@ fn main() -> std::io::Result<()> { let fds = protox::compile(["helloworld.proto"], ["."]).unwrap(); - tonic_build::compile_fds(fds) + tonic_prost_build::compile_fds(fds) }