diff --git a/Cargo.lock b/Cargo.lock index 16e61b502d..62f5c5dfc1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -193,7 +193,7 @@ dependencies = [ "thiserror", "tokio", "tokio-util 0.7.3", - "tonic", + "tonic 0.7.2", "tower", "tower-http", "tower-service", @@ -261,15 +261,15 @@ dependencies = [ "bytes", "clap 3.1.18", "flate2", - "prost", - "prost-types", + "prost 0.10.4", + "prost-types 0.10.1", "reqwest", "serde", "sys-info", "tokio", "tokio-stream", - "tonic", - "tonic-build", + "tonic 0.7.2", + "tonic-build 0.7.2", "tracing", "tracing-subscriber", "uname", @@ -921,6 +921,15 @@ dependencies = [ "os_str_bytes", ] +[[package]] +name = "cmake" +version = "0.1.48" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8ad8cef104ac57b68b89df3208164d228503abbdce70f6880ffa3d970e7443a" +dependencies = [ + "cc", +] + [[package]] name = "coarsetime" version = "0.1.22" @@ -3640,12 +3649,12 @@ dependencies = [ "http", "opentelemetry", "opentelemetry-http", - "prost", - "prost-build", + "prost 0.9.0", + "prost-build 0.9.0", "thiserror", "tokio", - "tonic", - "tonic-build", + "tonic 0.6.2", + "tonic-build 0.6.2", ] [[package]] @@ -4020,6 +4029,16 @@ dependencies = [ "termtree", ] +[[package]] +name = "prettyplease" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1516508b396cefe095485fdce673007422f5e48e82934b7b423dc26aa5e6a4" +dependencies = [ + "proc-macro2", + "syn", +] + [[package]] name = "proc-macro-crate" version = "1.1.3" @@ -4101,7 +4120,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.9.0", +] + +[[package]] +name = "prost" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e" +dependencies = [ + "bytes", + "prost-derive 0.10.1", ] [[package]] @@ -4117,8 +4146,30 @@ dependencies = [ "log", "multimap", "petgraph", - "prost", - "prost-types", + "prost 0.9.0", + "prost-types 0.9.0", + "regex", + "tempfile", + "which", +] + +[[package]] +name = "prost-build" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ae5a4388762d5815a9fc0dea33c56b021cdc8dde0c55e0c9ca57197254b0cab" +dependencies = [ + "bytes", + "cfg-if 1.0.0", + "cmake", + "heck 0.4.0", + "itertools", + "lazy_static", + "log", + "multimap", + "petgraph", + "prost 0.10.4", + "prost-types 0.10.1", "regex", "tempfile", "which", @@ -4137,6 +4188,19 @@ dependencies = [ "syn", ] +[[package]] +name = "prost-derive" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b670f45da57fb8542ebdbb6105a925fe571b67f9e7ed9f47a06a84e72b4e7cc" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "prost-types" version = "0.9.0" @@ -4144,7 +4208,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" dependencies = [ "bytes", - "prost", + "prost 0.9.0", +] + +[[package]] +name = "prost-types" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d0a014229361011dc8e69c8a1ec6c2e8d0f2af7c91e3ea3f5b2170298461e68" +dependencies = [ + "bytes", + "prost 0.10.4", ] [[package]] @@ -5650,8 +5724,8 @@ dependencies = [ "hyper-timeout", "percent-encoding", "pin-project", - "prost", - "prost-derive", + "prost 0.9.0", + "prost-derive 0.9.0", "tokio", "tokio-rustls 0.22.0", "tokio-stream", @@ -5663,6 +5737,40 @@ dependencies = [ "tracing-futures", ] +[[package]] +name = "tonic" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be9d60db39854b30b835107500cf0aca0b0d14d6e1c3de124217c23a29c2ddb" +dependencies = [ + "async-stream", + "async-trait", + "axum", + "base64", + "bytes", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "hyper", + "hyper-timeout", + "percent-encoding", + "pin-project", + "prost 0.10.4", + "prost-derive 0.10.1", + "rustls-pemfile", + "tokio", + "tokio-rustls 0.23.3", + "tokio-stream", + "tokio-util 0.7.3", + "tower", + "tower-layer", + "tower-service", + "tracing", + "tracing-futures", +] + [[package]] name = "tonic-build" version = "0.6.2" @@ -5670,7 +5778,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9403f1bafde247186684b230dc6f38b5cd514584e8bec1dd32514be4745fa757" dependencies = [ "proc-macro2", - "prost-build", + "prost-build 0.9.0", + "quote", + "syn", +] + +[[package]] +name = "tonic-build" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9263bf4c9bfaae7317c1c2faf7f18491d2fe476f70c414b73bf5d445b00ffa1" +dependencies = [ + "prettyplease", + "proc-macro2", + "prost-build 0.10.4", "quote", "syn", ] diff --git a/apollo-router/Cargo.toml b/apollo-router/Cargo.toml index 3403d9865d..672b8b82ef 100644 --- a/apollo-router/Cargo.toml +++ b/apollo-router/Cargo.toml @@ -114,7 +114,7 @@ sys-info = "0.9.1" thiserror = "1.0.31" tokio = { version = "1.19.2", features = ["full"] } tokio-util = { version = "0.7.3", features = ["net", "codec"] } -tonic = { version = "0.6.2", features = ["transport", "tls"] } +tonic = { version = "0.7.2", features = ["transport", "tls"] } tower = { version = "0.4.13", features = ["full"] } tower-http = { version = "0.3.4", features = ["trace", "cors", "compression-br", "compression-deflate", "compression-gzip", "decompression-br", "decompression-deflate", "decompression-gzip"] } tower-service = "0.3.2" diff --git a/apollo-spaceport/Cargo.toml b/apollo-spaceport/Cargo.toml index afcb2370d8..2fc65443e6 100644 --- a/apollo-spaceport/Cargo.toml +++ b/apollo-spaceport/Cargo.toml @@ -12,15 +12,15 @@ publish = false bytes = "1.1.0" clap = { version = "=3.1.18", default-features = false, features = ["std", "derive"] } flate2 = "1.0.23" -prost = "0.9.0" -prost-types = "0.9.0" +prost = "0.10.4" +prost-types = "0.10.1" reqwest = { version = "0.11.11", default_features = false, features = [ "rustls-tls", "json", ] } serde = {version = "1.0.137", features = ["derive"] } sys-info = "0.9.1" -tonic = "0.6.2" +tonic = "0.7.2" tokio = { version = "1.18.2", features = ["macros", "rt-multi-thread"] } tokio-stream = { version = "0.1.9", features = ["net"] } tracing = "0.1.34" @@ -37,7 +37,7 @@ reqwest = { version = "0.11.11", default-features = false, features = [ "rustls-tls", "blocking", ] } -tonic-build = "0.6.2" +tonic-build = "0.7.2" [lib] path = "src/lib.rs"