diff --git a/Cargo.lock b/Cargo.lock index 3f0a58c6603ba..269e906d193b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1160,10 +1160,10 @@ name = "console-api" version = "0.1.0" source = "git+https://github.com/tokio-rs/console?rev=f2c30d52c9f22de69bac38009a9183135808806c#f2c30d52c9f22de69bac38009a9183135808806c" dependencies = [ - "prost", - "prost-types", + "prost 0.8.0", + "prost-types 0.8.0", "tonic", - "tonic-build", + "tonic-build 0.5.2", "tracing-core 0.1.21", ] @@ -2152,6 +2152,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" +[[package]] +name = "fixedbitset" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e" + [[package]] name = "flate2" version = "1.0.22" @@ -3278,7 +3284,7 @@ dependencies = [ "ena", "itertools", "lalrpop-util", - "petgraph", + "petgraph 0.5.1", "pico-args", "regex", "regex-syntax", @@ -4456,7 +4462,17 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7" dependencies = [ - "fixedbitset", + "fixedbitset 0.2.0", + "indexmap", +] + +[[package]] +name = "petgraph" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143" +dependencies = [ + "fixedbitset 0.4.1", "indexmap", ] @@ -4816,9 +4832,9 @@ dependencies = [ "indexmap", "nom 7.0.0", "num_enum", - "prost", - "prost-build", - "prost-types", + "prost 0.8.0", + "prost-build 0.8.0", + "prost-types 0.8.0", "shared", "snafu", ] @@ -4862,7 +4878,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020" dependencies = [ "bytes 1.1.0", - "prost-derive", + "prost-derive 0.8.0", +] + +[[package]] +name = "prost" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" +dependencies = [ + "bytes 1.1.0", + "prost-derive 0.9.0", ] [[package]] @@ -4876,9 +4902,29 @@ dependencies = [ "itertools", "log", "multimap", - "petgraph", - "prost", - "prost-types", + "petgraph 0.5.1", + "prost 0.8.0", + "prost-types 0.8.0", + "tempfile", + "which 4.2.2", +] + +[[package]] +name = "prost-build" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" +dependencies = [ + "bytes 1.1.0", + "heck", + "itertools", + "lazy_static", + "log", + "multimap", + "petgraph 0.6.2", + "prost 0.9.0", + "prost-types 0.9.0", + "regex", "tempfile", "which 4.2.2", ] @@ -4896,6 +4942,19 @@ dependencies = [ "syn 1.0.76", ] +[[package]] +name = "prost-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" +dependencies = [ + "anyhow", + "itertools", + "proc-macro2 1.0.29", + "quote 1.0.9", + "syn 1.0.76", +] + [[package]] name = "prost-types" version = "0.8.0" @@ -4903,7 +4962,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b" dependencies = [ "bytes 1.1.0", - "prost", + "prost 0.8.0", +] + +[[package]] +name = "prost-types" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" +dependencies = [ + "bytes 1.1.0", + "prost 0.9.0", ] [[package]] @@ -4923,9 +4992,9 @@ dependencies = [ "native-tls", "nom 7.0.0", "pem", - "prost", - "prost-build", - "prost-derive", + "prost 0.8.0", + "prost-build 0.8.0", + "prost-derive 0.8.0", "rand 0.8.4", "regex", "tokio", @@ -6985,8 +7054,8 @@ dependencies = [ "hyper-timeout", "percent-encoding", "pin-project 1.0.8", - "prost", - "prost-derive", + "prost 0.8.0", + "prost-derive 0.8.0", "tokio", "tokio-rustls", "tokio-stream", @@ -7005,7 +7074,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12b52d07035516c2b74337d2ac7746075e7dcae7643816c1b12c5ff8a7484c08" dependencies = [ "proc-macro2 1.0.29", - "prost-build", + "prost-build 0.8.0", + "quote 1.0.9", + "syn 1.0.76", +] + +[[package]] +name = "tonic-build" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9403f1bafde247186684b230dc6f38b5cd514584e8bec1dd32514be4745fa757" +dependencies = [ + "proc-macro2 1.0.29", + "prost-build 0.9.0", "quote 1.0.9", "syn 1.0.76", ] @@ -7622,9 +7703,9 @@ dependencies = [ "postgres-openssl", "pretty_assertions", "prometheus-parser", - "prost", - "prost-build", - "prost-types", + "prost 0.8.0", + "prost-build 0.8.0", + "prost-types 0.8.0", "pulsar", "quickcheck", "rand 0.8.4", @@ -7674,7 +7755,7 @@ dependencies = [ "tokio-util", "toml", "tonic", - "tonic-build", + "tonic-build 0.6.2", "tower", "tower-layer", "tower-test", @@ -7763,9 +7844,9 @@ dependencies = [ "pin-project 1.0.8", "pretty_assertions", "proptest", - "prost", - "prost-build", - "prost-types", + "prost 0.8.0", + "prost-build 0.8.0", + "prost-types 0.8.0", "quickcheck", "regex", "serde", diff --git a/Cargo.toml b/Cargo.toml index 2870537c018db..df1531837df7d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -292,7 +292,7 @@ nix = "0.22.2" [build-dependencies] prost-build = { version = "0.8", optional = true } -tonic-build = { version = "0.5", default-features = false, features = ["transport", "prost"], optional = true } +tonic-build = { version = "0.6", default-features = false, features = ["transport", "prost"], optional = true } [dev-dependencies] approx = "0.5.0"