From c78274e3fe5763cba291a605979cd7175ad6c38f Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Wed, 30 Mar 2022 10:43:06 -0400 Subject: [PATCH] feat: Update prost to 0.10 (#948) --- examples/Cargo.toml | 4 ++-- interop/Cargo.toml | 4 ++-- tests/ambiguous_methods/Cargo.toml | 2 +- tests/compression/Cargo.toml | 2 +- tests/extern_path/my_application/Cargo.toml | 4 ++-- tests/extern_path/uuid/Cargo.toml | 4 ++-- tests/included_service/Cargo.toml | 2 +- tests/integration_tests/Cargo.toml | 2 +- tests/root-crate-path/Cargo.toml | 2 +- tests/same_name/Cargo.toml | 2 +- tests/service_named_service/Cargo.toml | 2 +- tests/stream_conflict/Cargo.toml | 2 +- tests/wellknown-compiled/Cargo.toml | 4 ++-- tests/wellknown/Cargo.toml | 4 ++-- tonic-build/Cargo.toml | 2 +- tonic-health/Cargo.toml | 2 +- tonic-reflection/Cargo.toml | 4 ++-- tonic-types/Cargo.toml | 6 +++--- tonic-web/tests/integration/Cargo.toml | 2 +- tonic/Cargo.toml | 4 ++-- 20 files changed, 30 insertions(+), 30 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 6a61e1007..e9c966275 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -181,7 +181,7 @@ path = "src/streaming/server.rs" [dependencies] async-stream = "0.3" futures = { version = "0.3", default-features = false, features = ["alloc"] } -prost = "0.9" +prost = "0.10" tokio = { version = "1.0", features = [ "rt-multi-thread", "time", "fs", "macros", "net",] } tokio-stream = { version = "0.1", features = ["net"] } tonic = { path = "../tonic", features = ["tls", "compression"] } @@ -196,7 +196,7 @@ tracing-attributes = "0.1" tracing-futures = "0.2" tracing-subscriber = { version = "0.3", features = ["tracing-log"] } # Required for wellknown types -prost-types = "0.9" +prost-types = "0.10" # Hyper example http = "0.2" http-body = "0.4.2" diff --git a/interop/Cargo.toml b/interop/Cargo.toml index 5922f519e..dc18d6f75 100644 --- a/interop/Cargo.toml +++ b/interop/Cargo.toml @@ -24,8 +24,8 @@ futures-util = "0.3" http = "0.2" http-body = "0.4.2" hyper = "0.14" -prost = "0.9" -prost-derive = "0.9" +prost = "0.10" +prost-derive = "0.10" tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros", "fs"]} tokio-stream = "0.1" tonic = {path = "../tonic", features = ["tls"]} diff --git a/tests/ambiguous_methods/Cargo.toml b/tests/ambiguous_methods/Cargo.toml index b009546ee..e37e00cc6 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.9" +prost = "0.10" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/compression/Cargo.toml b/tests/compression/Cargo.toml index a9a0df1b4..5a59f56ab 100644 --- a/tests/compression/Cargo.toml +++ b/tests/compression/Cargo.toml @@ -13,7 +13,7 @@ http = "0.2" http-body = "0.4" hyper = "0.14.3" pin-project = "1.0" -prost = "0.9" +prost = "0.10" tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]} tokio-stream = {version = "0.1.5", features = ["net"]} tonic = {path = "../../tonic", features = ["compression"]} diff --git a/tests/extern_path/my_application/Cargo.toml b/tests/extern_path/my_application/Cargo.toml index e16c0f29b..c4e82491b 100644 --- a/tests/extern_path/my_application/Cargo.toml +++ b/tests/extern_path/my_application/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.9" -prost-types = "0.9" +prost = "0.10" +prost-types = "0.10" 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 450aa74f1..72c2fee64 100644 --- a/tests/extern_path/uuid/Cargo.toml +++ b/tests/extern_path/uuid/Cargo.toml @@ -10,6 +10,6 @@ version = "0.1.0" [dependencies] bytes = "1.0" -prost = "0.9" +prost = "0.10" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" diff --git a/tests/included_service/Cargo.toml b/tests/included_service/Cargo.toml index 6b4ce199b..b774779e0 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.9" +prost = "0.10" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/integration_tests/Cargo.toml b/tests/integration_tests/Cargo.toml index 13826491d..289054b57 100644 --- a/tests/integration_tests/Cargo.toml +++ b/tests/integration_tests/Cargo.toml @@ -11,7 +11,7 @@ version = "0.1.0" [dependencies] bytes = "1.0" futures-util = "0.3" -prost = "0.9" +prost = "0.10" tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]} tonic = {path = "../../tonic"} diff --git a/tests/root-crate-path/Cargo.toml b/tests/root-crate-path/Cargo.toml index 852169b23..1a20afbab 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.9" +prost = "0.10" tonic = {path = "../../tonic"} [build_dependencies] diff --git a/tests/same_name/Cargo.toml b/tests/same_name/Cargo.toml index 56408420b..8b5579b4d 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.9" +prost = "0.10" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/service_named_service/Cargo.toml b/tests/service_named_service/Cargo.toml index 3eb617844..263da26b3 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.9" +prost = "0.10" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/stream_conflict/Cargo.toml b/tests/stream_conflict/Cargo.toml index d5bce3240..facf1c20a 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.9" +prost = "0.10" tonic = { path = "../../tonic" } [build-dependencies] diff --git a/tests/wellknown-compiled/Cargo.toml b/tests/wellknown-compiled/Cargo.toml index c2894b61e..0268bd858 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.9" +prost = "0.10" tonic = {path = "../../tonic"} [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" tonic-build = {path = "../../tonic-build"} diff --git a/tests/wellknown/Cargo.toml b/tests/wellknown/Cargo.toml index 9fc39f5d4..73f9349fb 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.9" -prost-types = "0.9" +prost = "0.10" +prost-types = "0.10" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tonic-build/Cargo.toml b/tonic-build/Cargo.toml index 86602ff37..91754a7ed 100644 --- a/tonic-build/Cargo.toml +++ b/tonic-build/Cargo.toml @@ -17,7 +17,7 @@ version = "0.6.2" [dependencies] prettyplease = {version = "0.1"} proc-macro2 = "1.0" -prost-build = {version = "0.9", optional = true} +prost-build = {version = "0.10", optional = true} quote = "1.0" syn = "1.0" diff --git a/tonic-health/Cargo.toml b/tonic-health/Cargo.toml index 3993f1bc2..d0dc757b0 100644 --- a/tonic-health/Cargo.toml +++ b/tonic-health/Cargo.toml @@ -21,7 +21,7 @@ transport = ["tonic/transport", "tonic-build/transport"] [dependencies] async-stream = "0.3" bytes = "1.0" -prost = "0.9" +prost = "0.10" tokio = {version = "1.0", features = ["sync"]} tokio-stream = "0.1" tonic = {version = "0.6", path = "../tonic", features = ["codegen", "prost"]} diff --git a/tonic-reflection/Cargo.toml b/tonic-reflection/Cargo.toml index 719b4ce8d..cbc965c14 100644 --- a/tonic-reflection/Cargo.toml +++ b/tonic-reflection/Cargo.toml @@ -18,8 +18,8 @@ version = "0.3.0" [dependencies] bytes = "1.0" -prost = "0.9" -prost-types = "0.9" +prost = "0.10" +prost-types = "0.10" tokio = {version = "1.0", features = ["sync"]} tokio-stream = {version = "0.1", features = ["net"]} tonic = {version = "0.6", path = "../tonic", features = ["codegen", "prost"]} diff --git a/tonic-types/Cargo.toml b/tonic-types/Cargo.toml index d902f6944..d6e014128 100644 --- a/tonic-types/Cargo.toml +++ b/tonic-types/Cargo.toml @@ -15,8 +15,8 @@ repository = "https://github.com/hyperium/tonic" version = "0.4.0" [dependencies] -prost = "0.9" -prost-types = "0.9" +prost = "0.10" +prost-types = "0.10" [build-dependencies] -prost-build = "0.9" +prost-build = "0.10" diff --git a/tonic-web/tests/integration/Cargo.toml b/tonic-web/tests/integration/Cargo.toml index 47fe98deb..f26ecdd02 100644 --- a/tonic-web/tests/integration/Cargo.toml +++ b/tonic-web/tests/integration/Cargo.toml @@ -10,7 +10,7 @@ license = "MIT" base64 = "0.13" bytes = "1.0" hyper = "0.14" -prost = "0.9" +prost = "0.10" 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 2889ec03c..514484f1b 100644 --- a/tonic/Cargo.toml +++ b/tonic/Cargo.toml @@ -64,8 +64,8 @@ tower-layer = "0.3" tower-service = "0.3" # prost -prost-derive = {version = "0.9", optional = true} -prost1 = {package = "prost", version = "0.9", optional = true} +prost-derive = {version = "0.10", optional = true} +prost1 = {package = "prost", version = "0.10", optional = true} # codegen async-trait = {version = "0.1.13", optional = true}