From 3b6bb95ebff9a85dc834c64e3427fa1605b2d3fa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 18:57:57 +0000 Subject: [PATCH] Bump tonic from 0.9.2 to 0.10.1 Bumps [tonic](https://github.com/hyperium/tonic) from 0.9.2 to 0.10.1. - [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/tonic/compare/v0.9.2...v0.10.1) --- updated-dependencies: - dependency-name: tonic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 31 ++++++++++++++++++++++++++----- Cargo.toml | 2 +- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a8bae18d..7fd16d86 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -176,6 +176,28 @@ version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" +[[package]] +name = "async-stream" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" +dependencies = [ + "async-stream-impl", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-stream-impl" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.31", +] + [[package]] name = "async-trait" version = "0.1.68" @@ -1952,16 +1974,15 @@ dependencies = [ [[package]] name = "tonic" -version = "0.9.2" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3082666a3a6433f7f511c7192923fa1fe07c69332d3c6a2e6bb040b569199d5a" +checksum = "14c00bc15e49625f3d2f20b17082601e5e17cf27ead69e805174026c194b6664" dependencies = [ + "async-stream", "async-trait", "axum", "base64", "bytes", - "futures-core", - "futures-util", "h2", "http", "http-body", @@ -1969,7 +1990,7 @@ dependencies = [ "hyper-timeout", "percent-encoding", "pin-project", - "prost 0.11.9", + "prost 0.12.0", "tokio", "tokio-stream", "tower", diff --git a/Cargo.toml b/Cargo.toml index b29cbb56..b0075d72 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ tokio-boring = "2.1.5" tokio-tungstenite = {version = "0.20", features = ["stream", "handshake"], default-features = false} tokio-util = {version = "0.7", features = ["codec", "net"]} toml = "0.5" -tonic = "0.9" +tonic = "0.10" uuid = {version = "1.3", features = ["std", "v4"]} #cidr_matcher={git="https://github.com/Qv2ray/CIDRMatcher"} brotli = "3.3.4"