diff --git a/examples/Cargo.toml b/examples/Cargo.toml index a329717d..d924ca6e 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -25,4 +25,4 @@ mime = "0.3.16" open = "5.0.1" futures-util = "0.3.21" tokio-stream = "0.1.8" -prost = "0.13.1" +prost = "0.14" diff --git a/examples/disabled/tonic/Cargo.toml b/examples/disabled/tonic/Cargo.toml index a1139fed..13c34a17 100644 --- a/examples/disabled/tonic/Cargo.toml +++ b/examples/disabled/tonic/Cargo.toml @@ -7,13 +7,13 @@ publish.workspace = true [dependencies] poem = { workspace = true, features = ["tower-compat"] } tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } -prost = "0.13.1" -tonic = "0.12.1" +prost = "0.14" +tonic = "0.14" tracing-subscriber.workspace = true tower = { version = "0.4.8", features = ["buffer"] } [build-dependencies] -tonic-build = "0.12.1" +tonic-build = "0.14" [[bin]] name = "example-tonic-client" diff --git a/examples/grpc/routeguide/build.rs b/examples/grpc/routeguide/build.rs index 04072704..e7fa7e24 100644 --- a/examples/grpc/routeguide/build.rs +++ b/examples/grpc/routeguide/build.rs @@ -3,7 +3,5 @@ use std::io::Result; use poem_grpc_build::Config; fn main() -> Result<()> { - Config::new() - .type_attribute("routeguide.Point", "#[derive(Hash, Eq)]") - .compile(&["./proto/routeguide.proto"], &["./proto"]) + Config::new().compile(&["./proto/routeguide.proto"], &["./proto"]) } diff --git a/poem-grpc-build/Cargo.toml b/poem-grpc-build/Cargo.toml index 6f1f19ca..a41936ff 100644 --- a/poem-grpc-build/Cargo.toml +++ b/poem-grpc-build/Cargo.toml @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] prettyplease = "0.2.9" -prost-build = "0.13.1" +prost-build = "0.14" quote.workspace = true proc-macro2.workspace = true syn.workspace = true diff --git a/poem-grpc/Cargo.toml b/poem-grpc/Cargo.toml index ea39fa77..f08790ab 100644 --- a/poem-grpc/Cargo.toml +++ b/poem-grpc/Cargo.toml @@ -31,9 +31,9 @@ tokio = { workspace = true, features = ["io-util", "rt", "sync", "net"] } itoa = "1.0.2" percent-encoding = "2.1.0" bytes.workspace = true -prost = "0.13.1" +prost = "0.14" base64.workspace = true -prost-types = "0.13.1" +prost-types = "0.14" tokio-stream = { workspace = true, features = ["sync"] } serde = { workspace = true, optional = true } serde_json = { workspace = true, optional = true }