From b6d6fbca47290c260f18bfb7e141b10de56cc5e7 Mon Sep 17 00:00:00 2001 From: Teimuraz Date: Mon, 16 Sep 2024 23:13:10 +0400 Subject: [PATCH] Update tonic to 0.12.2 (#23) --- Cargo.lock | 20 ++++++++++---------- Cargo.toml | 4 ++-- README.md | 2 +- example/Cargo.toml | 6 +++--- integration_tests/Cargo.toml | 6 +++--- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2afa276..ca087b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -208,7 +208,7 @@ dependencies = [ "tokio", "tonic", "tonic-build", - "tonic-middleware 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tonic-middleware 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -500,14 +500,14 @@ dependencies = [ [[package]] name = "integration_tests" -version = "0.2.1" +version = "0.2.2" dependencies = [ "prost", "serial_test", "tokio", "tonic", "tonic-build", - "tonic-middleware 0.2.1", + "tonic-middleware 0.2.2", ] [[package]] @@ -1064,9 +1064,9 @@ dependencies = [ [[package]] name = "tonic" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38659f4a91aba8598d27821589f5db7dddd94601e7a01b1e485a50e5484c7401" +checksum = "c6f6ba989e4b2c58ae83d862d3a3e27690b6e3ae630d0deb59f3697f32aa88ad" dependencies = [ "async-stream", "async-trait", @@ -1094,9 +1094,9 @@ dependencies = [ [[package]] name = "tonic-build" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "568392c5a2bd0020723e3f387891176aabafe36fd9fcd074ad309dfa0c8eb964" +checksum = "fe4ee8877250136bd7e3d2331632810a4df4ea5e004656990d8d66d2f5ee8a67" dependencies = [ "prettyplease", "proc-macro2", @@ -1107,7 +1107,7 @@ dependencies = [ [[package]] name = "tonic-middleware" -version = "0.2.1" +version = "0.2.2" dependencies = [ "async-trait", "futures-util", @@ -1117,9 +1117,9 @@ dependencies = [ [[package]] name = "tonic-middleware" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4a200bd1d9bb907c62531e440a764072fc00c4e9e24b4904e77a066edb54a3f" +checksum = "eae160de0558819a43ca1d4379a34d33d70987eba2117e9301dbff46818befe1" dependencies = [ "async-trait", "futures-util", diff --git a/Cargo.toml b/Cargo.toml index d7f0cbb..aaa0e0a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,10 +11,10 @@ keywords = ["middleware", "interceptor", "tonic", "async", "grpc"] license = "MIT" readme = "README.md" repository = "https://github.com/teimuraz/tonic-middleware" -version = "0.2.1" +version = "0.2.2" [dependencies] -tonic = "0.12.1" +tonic = "0.12.2" async-trait = "0.1.78" futures-util = "0.3.30" tower = "0.4.13" diff --git a/README.md b/README.md index 6d4e1c8..b34fad5 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ through Tonic's layer. Add to Cargo.toml ``` -tonic-middleware = "0.2.1" +tonic-middleware = "0.2.2" ``` See full [example](https://github.com/teimuraz/tonic-middleware/tree/main/example) or check [integration tests](https://github.com/teimuraz/tonic-middleware/blob/main/integration_tests/tests/tests.rs) diff --git a/example/Cargo.toml b/example/Cargo.toml index b26bede..1450478 100644 --- a/example/Cargo.toml +++ b/example/Cargo.toml @@ -13,10 +13,10 @@ path = "src/client.rs" [dependencies] tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] } -tonic = "0.12.1" +tonic = "0.12.2" prost = "0.13.1" -tonic-middleware = "0.2.1" +tonic-middleware = "0.2.2" [build-dependencies] -tonic-build = "0.12" +tonic-build = "0.12.2" diff --git a/integration_tests/Cargo.toml b/integration_tests/Cargo.toml index 37326b3..dda732f 100644 --- a/integration_tests/Cargo.toml +++ b/integration_tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "integration_tests" -version = "0.2.1" +version = "0.2.2" edition = "2021" [lib] @@ -8,14 +8,14 @@ path = "src/lib.rs" [dependencies] tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] } -tonic = "0.12.1" +tonic = "0.12.2" prost = "0.13.1" [dependencies.tonic-middleware] path = ".." [build-dependencies] -tonic-build = "0.12.1" +tonic-build = "0.12.2" [dev-dependencies] tokio = { version = "1.36.0", features = ["full", "test-util"] }