diff --git a/Cargo.toml b/Cargo.toml index a934c77..9fce191 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,9 +22,10 @@ build-server = ["pub-response-field"] raw-channel = [] [dependencies] -tonic = "0.13.1" -prost = "0.13" -tokio = "1.38" +tonic = "0.14" +prost = "0.14" +tonic-prost = "0.14" +tokio = "1" tokio-stream = "0.1" tower-service = "0.3" http = "1.1" @@ -39,7 +40,8 @@ hyper-util = { version = "0.1", features = ["client-legacy"], optional = true } tokio = { version = "1.38", features = ["full"] } [build-dependencies] -tonic-build = { version = "0.13.1", default-features = false, features = ["prost"] } +tonic-build = { version = "0.14", default-features = false } +tonic-prost-build = "0.14" [package.metadata.docs.rs] features = ["tls", "tls-roots"] diff --git a/build.rs b/build.rs index 5fcda06..d23be05 100644 --- a/build.rs +++ b/build.rs @@ -12,7 +12,7 @@ fn main() { let proto_root = "proto"; println!("cargo:rerun-if-changed={proto_root}"); - tonic_build::configure() + tonic_prost_build::configure() .build_server(should_build_server()) .compile_protos( &[