diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 214a86ebc..e3c227a06 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -294,7 +294,7 @@ default = ["full"] [dependencies] # Common dependencies tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] } -prost = "0.12" +prost = "0.13" tonic = { path = "../tonic" } # Optional dependencies tonic-web = { path = "../tonic-web", optional = true } @@ -310,7 +310,7 @@ serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } tracing = { version = "0.1.16", optional = true } tracing-subscriber = { version = "0.3", features = ["tracing-log", "fmt"], optional = true } -prost-types = { version = "0.12", optional = true } +prost-types = { version = "0.13", optional = true } http = { version = "1", optional = true } http-body = { version = "1", optional = true } http-body-util = { version = "0.1", optional = true } diff --git a/interop/Cargo.toml b/interop/Cargo.toml index 9a32b2a1d..5ec668f4f 100644 --- a/interop/Cargo.toml +++ b/interop/Cargo.toml @@ -22,7 +22,7 @@ console = "0.15" http = "1" http-body = "1" hyper = "1" -prost = "0.12" +prost = "0.13" tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros"]} tokio-stream = "0.1" tonic = {path = "../tonic", features = ["tls"]} diff --git a/tests/ambiguous_methods/Cargo.toml b/tests/ambiguous_methods/Cargo.toml index 13e67aad8..a9e64cf94 100644 --- a/tests/ambiguous_methods/Cargo.toml +++ b/tests/ambiguous_methods/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" +prost = "0.13" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/compression/Cargo.toml b/tests/compression/Cargo.toml index cf4da321b..a40522fa6 100644 --- a/tests/compression/Cargo.toml +++ b/tests/compression/Cargo.toml @@ -15,7 +15,7 @@ hyper = "1" hyper-util = "0.1" paste = "1.0.12" pin-project = "1.0" -prost = "0.12" +prost = "0.13" tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]} tokio-stream = "0.1" tonic = {path = "../../tonic", features = ["gzip", "zstd"]} diff --git a/tests/default_stubs/Cargo.toml b/tests/default_stubs/Cargo.toml index f3c826f98..278f36029 100644 --- a/tests/default_stubs/Cargo.toml +++ b/tests/default_stubs/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" [dependencies] tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]} tokio-stream = {version = "0.1", features = ["net"]} -prost = "0.12" +prost = "0.13" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/disable_comments/Cargo.toml b/tests/disable_comments/Cargo.toml index 5b6437223..ac75b2d22 100644 --- a/tests/disable_comments/Cargo.toml +++ b/tests/disable_comments/Cargo.toml @@ -9,9 +9,9 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" +prost = "0.13" tonic = { path = "../../tonic" } [build-dependencies] -prost-build = "0.12" +prost-build = "0.13" tonic-build = { path = "../../tonic-build" } diff --git a/tests/extern_path/my_application/Cargo.toml b/tests/extern_path/my_application/Cargo.toml index dddc5df0f..ade632181 100644 --- a/tests/extern_path/my_application/Cargo.toml +++ b/tests/extern_path/my_application/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" +prost = "0.13" tonic = {path = "../../../tonic"} uuid = {package = "uuid1", path = "../uuid"} diff --git a/tests/extern_path/uuid/Cargo.toml b/tests/extern_path/uuid/Cargo.toml index b2bc5e009..e32c3b5cb 100644 --- a/tests/extern_path/uuid/Cargo.toml +++ b/tests/extern_path/uuid/Cargo.toml @@ -9,6 +9,6 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" +prost = "0.13" [build-dependencies] -prost-build = "0.12" +prost-build = "0.13" diff --git a/tests/included_service/Cargo.toml b/tests/included_service/Cargo.toml index 36d74c964..2c63a3310 100644 --- a/tests/included_service/Cargo.toml +++ b/tests/included_service/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" +prost = "0.13" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/integration_tests/Cargo.toml b/tests/integration_tests/Cargo.toml index cfeebf725..ed11ffb84 100644 --- a/tests/integration_tests/Cargo.toml +++ b/tests/integration_tests/Cargo.toml @@ -10,7 +10,7 @@ version = "0.1.0" [dependencies] bytes = "1.0" -prost = "0.12" +prost = "0.13" tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net", "sync"]} tonic = {path = "../../tonic"} tracing-subscriber = {version = "0.3"} diff --git a/tests/root-crate-path/Cargo.toml b/tests/root-crate-path/Cargo.toml index e5c059b14..f52a04403 100644 --- a/tests/root-crate-path/Cargo.toml +++ b/tests/root-crate-path/Cargo.toml @@ -7,7 +7,7 @@ publish = false version = "0.1.0" [dependencies] -prost = "0.12" +prost = "0.13" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/same_name/Cargo.toml b/tests/same_name/Cargo.toml index 3cd78e42d..019f1abd4 100644 --- a/tests/same_name/Cargo.toml +++ b/tests/same_name/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" +prost = "0.13" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/service_named_result/Cargo.toml b/tests/service_named_result/Cargo.toml index 6a29a3cff..aa719faff 100644 --- a/tests/service_named_result/Cargo.toml +++ b/tests/service_named_result/Cargo.toml @@ -7,7 +7,7 @@ publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" +prost = "0.13" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/service_named_service/Cargo.toml b/tests/service_named_service/Cargo.toml index 4e9c7016e..10d5f5796 100644 --- a/tests/service_named_service/Cargo.toml +++ b/tests/service_named_service/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" +prost = "0.13" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/stream_conflict/Cargo.toml b/tests/stream_conflict/Cargo.toml index e01f5d192..bed5e048f 100644 --- a/tests/stream_conflict/Cargo.toml +++ b/tests/stream_conflict/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" +prost = "0.13" tonic = { path = "../../tonic" } [build-dependencies] diff --git a/tests/use_arc_self/Cargo.toml b/tests/use_arc_self/Cargo.toml index 74e52312a..48e69e6dc 100644 --- a/tests/use_arc_self/Cargo.toml +++ b/tests/use_arc_self/Cargo.toml @@ -8,7 +8,7 @@ version = "0.1.0" [dependencies] tokio-stream = "0.1" -prost = "0.12" +prost = "0.13" tonic = {path = "../../tonic", features = ["gzip"]} [build-dependencies] diff --git a/tests/wellknown-compiled/Cargo.toml b/tests/wellknown-compiled/Cargo.toml index 173a56605..e637b350c 100644 --- a/tests/wellknown-compiled/Cargo.toml +++ b/tests/wellknown-compiled/Cargo.toml @@ -12,9 +12,9 @@ version = "0.1.0" doctest = false [dependencies] -prost = "0.12" +prost = "0.13" tonic = {path = "../../tonic"} [build-dependencies] -prost-build = "0.12" +prost-build = "0.13" tonic-build = {path = "../../tonic-build"} diff --git a/tests/wellknown/Cargo.toml b/tests/wellknown/Cargo.toml index 098b7300b..3cbd15e74 100644 --- a/tests/wellknown/Cargo.toml +++ b/tests/wellknown/Cargo.toml @@ -9,8 +9,8 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.12" -prost-types = "0.12" +prost = "0.13" +prost-types = "0.13" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tonic-build/Cargo.toml b/tonic-build/Cargo.toml index b24db759e..72dbfa1cc 100644 --- a/tonic-build/Cargo.toml +++ b/tonic-build/Cargo.toml @@ -17,7 +17,7 @@ version = "0.11.0" [dependencies] prettyplease = { version = "0.2" } proc-macro2 = "1.0" -prost-build = { version = "0.12", optional = true } +prost-build = { version = "0.13", optional = true } quote = "1.0" syn = "2.0" diff --git a/tonic-health/Cargo.toml b/tonic-health/Cargo.toml index f26472faf..1d9e159cb 100644 --- a/tonic-health/Cargo.toml +++ b/tonic-health/Cargo.toml @@ -20,7 +20,7 @@ transport = [] [dependencies] async-stream = "0.3" -prost = "0.12" +prost = "0.13" tokio = {version = "1.0", features = ["sync"]} tokio-stream = "0.1" tonic = { version = "0.11", path = "../tonic", default-features = false, features = ["codegen", "prost"] } @@ -28,4 +28,4 @@ tonic = { version = "0.11", path = "../tonic", default-features = false, feature [dev-dependencies] tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]} tokio-stream = "0.1" -prost-types = "0.12" +prost-types = "0.13" diff --git a/tonic-health/src/generated/grpc_health_v1.rs b/tonic-health/src/generated/grpc_health_v1.rs index a0d4bc40f..b7e4713a5 100644 --- a/tonic-health/src/generated/grpc_health_v1.rs +++ b/tonic-health/src/generated/grpc_health_v1.rs @@ -6,7 +6,7 @@ pub struct HealthCheckRequest { pub service: ::prost::alloc::string::String, } #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] pub struct HealthCheckResponse { #[prost(enumeration = "health_check_response::ServingStatus", tag = "1")] pub status: i32, diff --git a/tonic-reflection/Cargo.toml b/tonic-reflection/Cargo.toml index 706b735ff..d12ede7a8 100644 --- a/tonic-reflection/Cargo.toml +++ b/tonic-reflection/Cargo.toml @@ -26,8 +26,8 @@ server = ["prost-types", "dep:tokio", "dep:tokio-stream"] default = ["server"] [dependencies] -prost = "0.12" -prost-types = {version = "0.12", optional = true} +prost = "0.13" +prost-types = {version = "0.13", optional = true} tokio = { version = "1.0", features = ["sync", "rt"], optional = true } tokio-stream = {version = "0.1", features = ["net"], optional = true } tonic = { version = "0.11", path = "../tonic", default-features = false, features = ["codegen", "prost"] } diff --git a/tonic-types/Cargo.toml b/tonic-types/Cargo.toml index 0e13a66ec..3c1db026f 100644 --- a/tonic-types/Cargo.toml +++ b/tonic-types/Cargo.toml @@ -18,6 +18,6 @@ repository = "https://github.com/hyperium/tonic" version = "0.11.0" [dependencies] -prost = "0.12" -prost-types = "0.12" +prost = "0.13" +prost-types = "0.13" tonic = {version = "0.11", path = "../tonic", default-features = false} diff --git a/tonic-types/src/generated/google_rpc.rs b/tonic-types/src/generated/google_rpc.rs index 0e52dcd26..b78585291 100644 --- a/tonic-types/src/generated/google_rpc.rs +++ b/tonic-types/src/generated/google_rpc.rs @@ -36,7 +36,7 @@ pub struct Status { /// number of retries have been reached or a maximum retry delay cap has been /// reached. #[allow(clippy::derive_partial_eq_without_eq)] -#[derive(Clone, PartialEq, ::prost::Message)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] pub struct RetryInfo { /// Clients should wait at least this long between retrying the same request. #[prost(message, optional, tag = "1")] diff --git a/tonic-web/tests/integration/Cargo.toml b/tonic-web/tests/integration/Cargo.toml index 38fd9ff32..8341c927b 100644 --- a/tonic-web/tests/integration/Cargo.toml +++ b/tonic-web/tests/integration/Cargo.toml @@ -13,7 +13,7 @@ http-body = "1" http-body-util = "0.1" hyper = "1" hyper-util = "0.1" -prost = "0.12" +prost = "0.13" tokio = { version = "1", features = ["macros", "rt", "net"] } tokio-stream = { version = "0.1", features = ["net"] } tonic = { path = "../../../tonic" } diff --git a/tonic/Cargo.toml b/tonic/Cargo.toml index 24fb0b9d6..15305f5e5 100644 --- a/tonic/Cargo.toml +++ b/tonic/Cargo.toml @@ -69,7 +69,7 @@ tower-layer = "0.3" tower-service = "0.3" # prost -prost = {version = "0.12", default-features = false, features = ["std"], optional = true} +prost = {version = "0.13", default-features = false, features = ["std"], optional = true} # codegen async-trait = {version = "0.1.13", optional = true}