From 82b6b16c3ccc7ebeaa901dd12fd76325c88e1ea6 Mon Sep 17 00:00:00 2001 From: Marco Napetti Date: Tue, 26 Sep 2023 15:23:01 +0200 Subject: [PATCH] feat: upgrade tonic --- Cargo.toml | 2 +- test-suite/gzip/client/Cargo.toml | 6 +++--- test-suite/gzip/server/Cargo.toml | 8 ++++---- test-suite/simple/client/Cargo.toml | 6 +++--- test-suite/simple/server/Cargo.toml | 8 ++++---- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 27f7a66..54bc5fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ httparse = "1.8.0" js-sys = "0.3.63" pin-project = "1.1.0" thiserror = "1.0.40" -tonic = { version = "0.9.2", default-features = false } +tonic = { version = "0.10.1", default-features = false } tower-service = "0.3.2" wasm-bindgen = "0.2.86" wasm-bindgen-futures = "0.4.36" diff --git a/test-suite/gzip/client/Cargo.toml b/test-suite/gzip/client/Cargo.toml index eb095c1..b76fa9e 100644 --- a/test-suite/gzip/client/Cargo.toml +++ b/test-suite/gzip/client/Cargo.toml @@ -6,15 +6,15 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11.9" -tonic = { version = "0.9.2", default-features = false, features = [ +prost = "0.12.1" +tonic = { version = "0.10.1", default-features = false, features = [ "prost", "codegen", "gzip", ] } [build-dependencies] -tonic-build = { version = "0.9.2", default-features = false, features = [ +tonic-build = { version = "0.10.1", default-features = false, features = [ "prost", ] } diff --git a/test-suite/gzip/server/Cargo.toml b/test-suite/gzip/server/Cargo.toml index c7e0786..987757d 100644 --- a/test-suite/gzip/server/Cargo.toml +++ b/test-suite/gzip/server/Cargo.toml @@ -8,13 +8,13 @@ edition = "2021" [dependencies] futures-core = "0.3.28" http = "0.2.9" -prost = "0.11.9" +prost = "0.12.1" tokio = { version = "1.28.0", features = ["macros", "rt-multi-thread"] } -tonic = { version = "0.9.2", features = ["gzip"] } -tonic-web = "0.9.2" +tonic = { version = "0.10.1", features = ["gzip"] } +tonic-web = "0.10.1" tower-http = { version = "0.4.0", default-features = false, features = [ "cors", ] } [build-dependencies] -tonic-build = "0.9.2" +tonic-build = "0.10.1" diff --git a/test-suite/simple/client/Cargo.toml b/test-suite/simple/client/Cargo.toml index 451a03f..ed508c7 100644 --- a/test-suite/simple/client/Cargo.toml +++ b/test-suite/simple/client/Cargo.toml @@ -6,14 +6,14 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11.9" -tonic = { version = "0.9.2", default-features = false, features = [ +prost = "0.12.1" +tonic = { version = "0.10.1", default-features = false, features = [ "prost", "codegen", ] } [build-dependencies] -tonic-build = { version = "0.9.2", default-features = false, features = [ +tonic-build = { version = "0.10.1", default-features = false, features = [ "prost", ] } diff --git a/test-suite/simple/server/Cargo.toml b/test-suite/simple/server/Cargo.toml index ec67341..d594660 100644 --- a/test-suite/simple/server/Cargo.toml +++ b/test-suite/simple/server/Cargo.toml @@ -8,13 +8,13 @@ edition = "2021" [dependencies] futures-core = "0.3.28" http = "0.2.9" -prost = "0.11.9" +prost = "0.12.1" tokio = { version = "1.28.0", features = ["macros", "rt-multi-thread"] } -tonic = "0.9.2" -tonic-web = "0.9.2" +tonic = "0.10.1" +tonic-web = "0.10.1" tower-http = { version = "0.4.0", default-features = false, features = [ "cors", ] } [build-dependencies] -tonic-build = "0.9.2" +tonic-build = "0.10.1"