From 48ad0be1abb33e33f1d6e3f8a384aae50ffba5f1 Mon Sep 17 00:00:00 2001 From: Yiyu Lin Date: Thu, 18 Jul 2024 14:25:54 +0800 Subject: [PATCH] chore: bump `prost` to 0.13 (#849) Co-authored-by: hzlinyiyu --- Cargo.toml | 1 + examples/Cargo.toml | 2 +- examples/disabled/tonic/Cargo.toml | 6 +++--- poem-grpc-build/Cargo.toml | 2 +- poem-grpc/Cargo.toml | 6 +++--- poem-openapi-derive/Cargo.toml | 2 +- poem/Cargo.toml | 2 +- 7 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 82babe823f..c2f2a36914 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,6 +47,7 @@ serde_urlencoded = "0.7.1" indexmap = "2.0.0" reqwest = { version = "0.12.2", default-features = false } darling = "0.20.8" +http = "1.0.0" # rustls, update together rustls = "0.22.0" diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 28b14ce672..25e4e50af1 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -22,4 +22,4 @@ mime = "0.3.16" open = "5.0.1" futures-util = "0.3.21" tokio-stream = "0.1.8" -prost = "0.12.0" +prost = "0.13.1" diff --git a/examples/disabled/tonic/Cargo.toml b/examples/disabled/tonic/Cargo.toml index 42779231db..a1139fed7d 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.12.0" -tonic = "0.10.2" +prost = "0.13.1" +tonic = "0.12.1" tracing-subscriber.workspace = true tower = { version = "0.4.8", features = ["buffer"] } [build-dependencies] -tonic-build = "0.10.2" +tonic-build = "0.12.1" [[bin]] name = "example-tonic-client" diff --git a/poem-grpc-build/Cargo.toml b/poem-grpc-build/Cargo.toml index efb44e6054..47634294b5 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.12.0" +prost-build = "0.13.1" quote.workspace = true proc-macro2.workspace = true syn.workspace = true diff --git a/poem-grpc/Cargo.toml b/poem-grpc/Cargo.toml index b52fb3c0f4..77b6cd5210 100644 --- a/poem-grpc/Cargo.toml +++ b/poem-grpc/Cargo.toml @@ -27,16 +27,16 @@ flate2 = "1.0.24" itoa = "1.0.2" percent-encoding = "2.1.0" bytes.workspace = true -prost = "0.12.0" +prost = "0.13.1" base64.workspace = true -prost-types = "0.12.0" +prost-types = "0.13.1" tokio-stream = { workspace = true, features = ["sync"] } serde = { workspace = true, optional = true } serde_json = { workspace = true, optional = true } rustls = { workspace = true } thiserror.workspace = true fastrand = "2.0.0" -http = "1.0.0" +http.workspace = true hyper = { version = "1.0.0", features = ["http1", "http2"] } hyper-util = { version = "0.1.3", features = ["client-legacy", "tokio"] } http-body-util = "0.1.0" diff --git a/poem-openapi-derive/Cargo.toml b/poem-openapi-derive/Cargo.toml index fef0623752..61f4c04dde 100644 --- a/poem-openapi-derive/Cargo.toml +++ b/poem-openapi-derive/Cargo.toml @@ -24,7 +24,7 @@ syn = { workspace = true, features = ["full", "visit-mut"] } thiserror.workspace = true indexmap.workspace = true regex.workspace = true -http = "1.0.0" +http.workspace = true mime.workspace = true [package.metadata.workspaces] diff --git a/poem/Cargo.toml b/poem/Cargo.toml index 0ac4123cfb..13cfc7c1dc 100644 --- a/poem/Cargo.toml +++ b/poem/Cargo.toml @@ -73,7 +73,7 @@ poem-derive.workspace = true bytes.workspace = true futures-util = { workspace = true, features = ["sink"] } -http = "1.0.0" +http.workspace = true hyper = { version = "1.0.0", features = ["http1", "http2"] } hyper-util = { version = "0.1.3", features = ["server-auto", "tokio"] } http-body-util = "0.1.0"