From 4eb7ec569f7bed04c4a6260a59e74a81c0fc79f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 22:29:41 +0000 Subject: [PATCH] Bump tonic from 0.11.0 to 0.12.3 in /temporalio Bumps [tonic](https://github.com/hyperium/tonic) from 0.11.0 to 0.12.3. - [Release notes](https://github.com/hyperium/tonic/releases) - [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/tonic/compare/v0.11.0...v0.12.3) --- updated-dependencies: - dependency-name: tonic dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- temporalio/Cargo.lock | 198 ++++++++++++++++++++++++++------------ temporalio/Cargo.toml | 2 +- temporalio/ext/Cargo.toml | 2 +- 3 files changed, 138 insertions(+), 64 deletions(-) diff --git a/temporalio/Cargo.lock b/temporalio/Cargo.lock index d7781be6..51a41075 100644 --- a/temporalio/Cargo.lock +++ b/temporalio/Cargo.lock @@ -183,7 +183,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.3.4", "bitflags 1.3.2", "bytes", "futures-util", @@ -204,6 +204,33 @@ dependencies = [ "tower-service", ] +[[package]] +name = "axum" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" +dependencies = [ + "async-trait", + "axum-core 0.4.5", + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "itoa", + "matchit", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "sync_wrapper 1.0.1", + "tower", + "tower-layer", + "tower-service", +] + [[package]] name = "axum-core" version = "0.3.4" @@ -221,6 +248,26 @@ dependencies = [ "tower-service", ] +[[package]] +name = "axum-core" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "mime", + "pin-project-lite", + "rustversion", + "sync_wrapper 1.0.1", + "tower-layer", + "tower-service", +] + [[package]] name = "backoff" version = "0.4.0" @@ -487,7 +534,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd326812b3fd01da5bb1af7d340d0d555fd3d4b641e7f1dfcf5962a902952787" dependencies = [ "futures-core", - "prost", + "prost 0.12.6", "prost-types", "tonic 0.10.2", "tracing-core", @@ -1330,10 +1377,10 @@ dependencies = [ "http 1.1.0", "hyper 1.4.1", "hyper-util", - "rustls 0.23.12", + "rustls", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.0", + "tokio-rustls", "tower-service", "webpki-roots", ] @@ -1350,6 +1397,19 @@ dependencies = [ "tokio-io-timeout", ] +[[package]] +name = "hyper-timeout" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3203a961e5c83b6f5498933e78b6b263e208c197b63e9c6c53cc82ffd3f63793" +dependencies = [ + "hyper 1.4.1", + "hyper-util", + "pin-project-lite", + "tokio", + "tower-service", +] + [[package]] name = "hyper-util" version = "0.1.6" @@ -1798,7 +1858,7 @@ dependencies = [ "opentelemetry", "opentelemetry-proto", "opentelemetry_sdk", - "prost", + "prost 0.12.6", "thiserror", "tokio", "tonic 0.11.0", @@ -1825,7 +1885,7 @@ checksum = "984806e6cf27f2b49282e2a05e288f30594f3dbc74eb7a6e99422bc48ed78162" dependencies = [ "opentelemetry", "opentelemetry_sdk", - "prost", + "prost 0.12.6", "tonic 0.11.0", ] @@ -2084,6 +2144,15 @@ dependencies = [ "prost-derive", ] +[[package]] +name = "prost" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b0487d90e047de87f984913713b85c601c05609aad5b0df4b4573fbf69aa13f" +dependencies = [ + "bytes", +] + [[package]] name = "prost-build" version = "0.12.6" @@ -2098,7 +2167,7 @@ dependencies = [ "once_cell", "petgraph", "prettyplease", - "prost", + "prost 0.12.6", "prost-types", "regex", "syn", @@ -2124,7 +2193,7 @@ version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" dependencies = [ - "prost", + "prost 0.12.6", ] [[package]] @@ -2135,7 +2204,7 @@ checksum = "5fb7ec2850c138ebaa7ab682503b5d08c3cb330343e9c94776612928b6ddb53f" dependencies = [ "chrono", "inventory", - "prost", + "prost 0.12.6", "serde", "serde_derive", "serde_json", @@ -2149,7 +2218,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "598b7365952c2ed4e32902de0533653aafbe5ae3da436e8e2335c7d375a1cef3" dependencies = [ "heck", - "prost", + "prost 0.12.6", "prost-build", "prost-types", "quote", @@ -2162,7 +2231,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a8eadc2381640a49c1fbfb9f4a857794b4e5bf5a2cbc2d858cfdb74f64dcd22" dependencies = [ "chrono", - "prost", + "prost 0.12.6", "prost-build", "prost-types", "prost-wkt", @@ -2205,7 +2274,7 @@ dependencies = [ "quinn-proto", "quinn-udp", "rustc-hash", - "rustls 0.23.12", + "rustls", "thiserror", "tokio", "tracing", @@ -2221,7 +2290,7 @@ dependencies = [ "rand", "ring", "rustc-hash", - "rustls 0.23.12", + "rustls", "slab", "thiserror", "tinyvec", @@ -2430,7 +2499,7 @@ dependencies = [ "percent-encoding", "pin-project-lite", "quinn", - "rustls 0.23.12", + "rustls", "rustls-pemfile", "rustls-pki-types", "serde", @@ -2438,7 +2507,7 @@ dependencies = [ "serde_urlencoded", "sync_wrapper 1.0.1", "tokio", - "tokio-rustls 0.26.0", + "tokio-rustls", "tokio-util", "tower-service", "url", @@ -2583,26 +2652,13 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "rustls" -version = "0.22.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" -dependencies = [ - "log", - "ring", - "rustls-pki-types", - "rustls-webpki", - "subtle", - "zeroize", -] - [[package]] name = "rustls" version = "0.23.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044" dependencies = [ + "log", "once_cell", "ring", "rustls-pki-types", @@ -2613,9 +2669,9 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88d6d420651b496bdd98684116959239430022a115c1240e6c3993be0b15fba" +checksum = "fcaf18a4f2be7326cd874a5fa579fae794320a0f388d365dca7e480e55f83f8a" dependencies = [ "openssl-probe", "rustls-pemfile", @@ -2974,7 +3030,7 @@ dependencies = [ "temporal-sdk-core-protos", "thiserror", "tokio", - "tonic 0.11.0", + "tonic 0.12.3", "tower", "tracing", "url", @@ -3042,7 +3098,7 @@ dependencies = [ "pid", "pin-project", "prometheus", - "prost", + "prost 0.12.6", "prost-wkt-types", "rand", "reqwest", @@ -3064,7 +3120,7 @@ dependencies = [ "tokio", "tokio-stream", "tokio-util", - "tonic 0.11.0", + "tonic 0.12.3", "tonic-build", "tracing", "tracing-subscriber", @@ -3085,7 +3141,7 @@ dependencies = [ "serde_json", "temporal-sdk-core-protos", "thiserror", - "tonic 0.11.0", + "tonic 0.12.3", "tracing-core", "url", ] @@ -3097,7 +3153,7 @@ dependencies = [ "anyhow", "base64 0.22.1", "derive_more", - "prost", + "prost 0.12.6", "prost-wkt", "prost-wkt-build", "prost-wkt-types", @@ -3105,7 +3161,7 @@ dependencies = [ "serde", "serde_json", "thiserror", - "tonic 0.11.0", + "tonic 0.12.3", "tonic-build", "uuid", ] @@ -3122,7 +3178,7 @@ dependencies = [ "log", "once_cell", "parking_lot", - "prost", + "prost 0.12.6", "prost-types", "rand", "rmp-serde", @@ -3146,14 +3202,14 @@ version = "0.1.0" dependencies = [ "magnus", "parking_lot", - "prost", + "prost 0.12.6", "rb-sys", "temporal-client", "temporal-sdk-core", "temporal-sdk-core-api", "temporal-sdk-core-protos", "tokio", - "tonic 0.11.0", + "tonic 0.12.3", "tracing", "url", ] @@ -3287,33 +3343,22 @@ dependencies = [ "syn", ] -[[package]] -name = "tokio-rustls" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" -dependencies = [ - "rustls 0.22.4", - "rustls-pki-types", - "tokio", -] - [[package]] name = "tokio-rustls" version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ - "rustls 0.23.12", + "rustls", "rustls-pki-types", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ "futures-core", "pin-project-lite", @@ -3375,17 +3420,17 @@ checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e" dependencies = [ "async-stream", "async-trait", - "axum", + "axum 0.6.20", "base64 0.21.7", "bytes", "h2 0.3.26", "http 0.2.12", "http-body 0.4.6", "hyper 0.14.30", - "hyper-timeout", + "hyper-timeout 0.4.1", "percent-encoding", "pin-project", - "prost", + "prost 0.12.6", "tokio", "tokio-stream", "tower", @@ -3402,22 +3447,51 @@ checksum = "76c4eb7a4e9ef9d4763600161f12f5070b92a578e1b634db88a6887844c91a13" dependencies = [ "async-stream", "async-trait", - "axum", + "axum 0.6.20", "base64 0.21.7", "bytes", "h2 0.3.26", "http 0.2.12", "http-body 0.4.6", "hyper 0.14.30", - "hyper-timeout", + "hyper-timeout 0.4.1", "percent-encoding", "pin-project", - "prost", + "prost 0.12.6", + "tokio", + "tokio-stream", + "tower", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tonic" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" +dependencies = [ + "async-stream", + "async-trait", + "axum 0.7.5", + "base64 0.22.1", + "bytes", + "h2 0.4.5", + "http 1.1.0", + "http-body 1.0.1", + "http-body-util", + "hyper 1.4.1", + "hyper-timeout 0.5.1", + "hyper-util", + "percent-encoding", + "pin-project", + "prost 0.13.3", "rustls-native-certs", "rustls-pemfile", - "rustls-pki-types", + "socket2", "tokio", - "tokio-rustls 0.25.0", + "tokio-rustls", "tokio-stream", "tower", "tower-layer", diff --git a/temporalio/Cargo.toml b/temporalio/Cargo.toml index 21ba7092..2ebe1ea2 100644 --- a/temporalio/Cargo.toml +++ b/temporalio/Cargo.toml @@ -15,7 +15,7 @@ license-file = "LICENSE" derive_builder = "0.20" derive_more = { version = "0.99", default-features = false, features = ["constructor", "display", "from", "into"] } once_cell = "1.16" -tonic = "0.11" +tonic = "0.12" tonic-build = "0.11" opentelemetry = "0.23" prost = "0.12" diff --git a/temporalio/ext/Cargo.toml b/temporalio/ext/Cargo.toml index 9b3f79c1..fdba9aa3 100644 --- a/temporalio/ext/Cargo.toml +++ b/temporalio/ext/Cargo.toml @@ -19,6 +19,6 @@ temporal-sdk-core = { version = "0.1.0", path = "./sdk-core/core", features = [" temporal-sdk-core-api = { version = "0.1.0", path = "./sdk-core/core-api" } temporal-sdk-core-protos = { version = "0.1.0", path = "./sdk-core/sdk-core-protos" } tokio = "1.26" -tonic = "0.11" +tonic = "0.12" tracing = "0.1" url = "2.2"