diff --git a/Cargo.lock b/Cargo.lock index 6f457c6d..7159f5eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2376,7 +2376,7 @@ dependencies = [ "thiserror", "tokio", "tokio-retry", - "tonic", + "tonic 0.9.2", "tower", "tracing", ] @@ -2389,7 +2389,7 @@ checksum = "2a3b24a3f57be08afc02344e693afb55e48172c9c2ab86ff3fdb8efff550e4b9" dependencies = [ "prost 0.11.9", "prost-types", - "tonic", + "tonic 0.9.2", ] [[package]] @@ -2656,7 +2656,7 @@ dependencies = [ "hyper", "log", "rustls 0.20.9", - "rustls-native-certs", + "rustls-native-certs 0.6.3", "tokio", "tokio-rustls 0.23.4", ] @@ -2672,7 +2672,7 @@ dependencies = [ "hyper", "log", "rustls 0.21.10", - "rustls-native-certs", + "rustls-native-certs 0.6.3", "tokio", "tokio-rustls 0.24.1", ] @@ -3517,7 +3517,7 @@ dependencies = [ "strum_macros", "thiserror", "tokio", - "tonic", + "tonic 0.11.0", "tracing", "tracing-subscriber", "unicode-truncate", @@ -4399,7 +4399,7 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", - "rustls-pemfile", + "rustls-pemfile 1.0.4", "serde", "serde_json", "serde_urlencoded", @@ -4604,7 +4604,7 @@ checksum = "25da151615461c7347114b1ad1a7458b4cdebc69cb220cd140cd5cb324b1dd37" dependencies = [ "log", "rustls 0.21.10", - "rustls-native-certs", + "rustls-native-certs 0.6.3", "rustls-webpki 0.101.7", ] @@ -4615,7 +4615,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile", + "rustls-pemfile 1.0.4", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-native-certs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.1.2", + "rustls-pki-types", "schannel", "security-framework", ] @@ -4629,6 +4642,16 @@ dependencies = [ "base64 0.21.7", ] +[[package]] +name = "rustls-pemfile" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" +dependencies = [ + "base64 0.22.0", + "rustls-pki-types", +] + [[package]] name = "rustls-pki-types" version = "1.3.1" @@ -5093,7 +5116,7 @@ dependencies = [ "atoi", "byteorder", "bytes", - "crc 3.0.1", + "crc", "crossbeam-queue", "dotenvy", "either", @@ -5174,7 +5197,7 @@ dependencies = [ "bitflags 2.4.2", "byteorder", "bytes", - "crc 3.0.1", + "crc", "digest", "dotenvy", "either", @@ -5215,7 +5238,7 @@ dependencies = [ "base64 0.21.7", "bitflags 2.4.2", "byteorder", - "crc 3.0.1", + "crc", "dotenvy", "etcetera", "futures-channel", @@ -5406,7 +5429,7 @@ dependencies = [ "cfg-if 1.0.0", "p12", "rustls-connector", - "rustls-pemfile", + "rustls-pemfile 1.0.4", ] [[package]] @@ -5588,6 +5611,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.2", + "rustls-pki-types", + "tokio", +] + [[package]] name = "tokio-stream" version = "0.1.14" @@ -5689,8 +5723,8 @@ dependencies = [ "percent-encoding", "pin-project", "prost 0.11.9", - "rustls-native-certs", - "rustls-pemfile", + "rustls-native-certs 0.6.3", + "rustls-pemfile 1.0.4", "tokio", "tokio-rustls 0.24.1", "tokio-stream", @@ -5701,6 +5735,37 @@ dependencies = [ "webpki-roots 0.23.1", ] +[[package]] +name = "tonic" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76c4eb7a4e9ef9d4763600161f12f5070b92a578e1b634db88a6887844c91a13" +dependencies = [ + "async-stream", + "async-trait", + "axum", + "base64 0.21.7", + "bytes", + "h2", + "http 0.2.11", + "http-body", + "hyper", + "hyper-timeout", + "percent-encoding", + "pin-project", + "prost 0.12.3", + "rustls-native-certs 0.7.0", + "rustls-pemfile 2.1.2", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.25.0", + "tokio-stream", + "tower", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "tower" version = "0.4.13" @@ -5947,7 +6012,7 @@ checksum = "3a98857edfd2d93f425c531a047030b118a293e17596a22d6bdf31f11300bf8e" dependencies = [ "thiserror", "tokio", - "tonic", + "tonic 0.9.2", "utxorpc-spec", ] @@ -5962,7 +6027,7 @@ dependencies = [ "pbjson-types", "prost 0.11.9", "serde", - "tonic", + "tonic 0.9.2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 8ee6987c..d29f8ad8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,7 +68,7 @@ google-cloud-googleapis = { version = "0.10.0", optional = true } google-cloud-default = { version = "0.4.0", optional = true, features = ["pubsub"] } r2d2_redis = { version = "0.14.0", optional = true } jsonwebtoken = { version = "8.3.0", optional = true } -tonic = { version = "0.9.2", features = ["tls", "tls-roots"], optional = true } +tonic = { version = "0.11.0", features = ["tls", "tls-roots"], optional = true } futures = { version = "0.3.28", optional = true } sqlx = { version = "0.7", features = ["runtime-tokio", "tls-native-tls", "any", "sqlite", "postgres"], optional = true } aws-config = { version = "^1.1", optional = true }