From f2b07e2db5b88987cfd19a4fe619244cc5f809d0 Mon Sep 17 00:00:00 2001 From: Kai Hudalla Date: Mon, 25 Sep 2023 17:23:16 +0200 Subject: [PATCH] Update tonic + prost dependencies Updated to tonic 0.10.0 prost 0.12.1 --- DEPENDENCIES | 8 ++-- components/Cargo.lock | 46 ++++++++----------- components/Cargo.toml | 8 ++-- .../{tonic-0.9.2.txt => tonic-0.10.0.txt} | 0 4 files changed, 27 insertions(+), 35 deletions(-) rename components/LICENSES/{tonic-0.9.2.txt => tonic-0.10.0.txt} (100%) diff --git a/DEPENDENCIES b/DEPENDENCIES index a87b8e6..de8b9ea 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -101,9 +101,9 @@ crate/cratesio/-/polling/2.8.0, Apache-2.0 OR MIT, approved, clearlydefined crate/cratesio/-/ppv-lite86/0.2.17, MIT OR Apache-2.0, approved, clearlydefined crate/cratesio/-/proc-macro2/1.0.66, MIT OR Apache-2.0, approved, clearlydefined crate/cratesio/-/proc-macro-crate/1.3.1, MIT OR Apache-2.0, approved, clearlydefined -crate/cratesio/-/prost/0.11.9, Apache-2.0, approved, #7713 -crate/cratesio/-/prost-derive/0.11.9, Apache-2.0, approved, #7717 -crate/cratesio/-/prost-types/0.11.9, Apache-2.0 AND BSD-2-Clause, approved, #7714 +crate/cratesio/-/prost/0.12.1, Apache-2.0, approved, #10594 +crate/cratesio/-/prost-derive/0.12.1, Apache-2.0, approved, clearlydefined +crate/cratesio/-/prost-types/0.12.1, Apache-2.0 AND BSD-3-Clause, approved, #10593 crate/cratesio/-/protobuf/3.2.0, MIT, approved, clearlydefined crate/cratesio/-/protobuf-support/3.2.0, MIT, approved, clearlydefined crate/cratesio/-/quote/1.0.32, MIT OR Apache-2.0, approved, clearlydefined @@ -151,7 +151,7 @@ crate/cratesio/-/tokio-stream/0.1.14, MIT, approved, clearlydefined crate/cratesio/-/tokio-util/0.7.8, MIT, approved, clearlydefined crate/cratesio/-/toml_datetime/0.6.3, MIT OR Apache-2.0, approved, clearlydefined crate/cratesio/-/toml_edit/0.19.14, MIT OR Apache-2.0, approved, clearlydefined -crate/cratesio/-/tonic/0.9.2, MIT AND Apache-2.0, approved, #9772 +crate/cratesio/-/tonic/0.10.0, MIT, approved, clearlydefined crate/cratesio/-/tower/0.4.13, MIT AND Apache-2.0, approved, #6661 crate/cratesio/-/tower-layer/0.3.2, MIT, approved, clearlydefined crate/cratesio/-/tower-service/0.3.2, MIT, approved, clearlydefined diff --git a/components/Cargo.lock b/components/Cargo.lock index f806d56..6a5023e 100644 --- a/components/Cargo.lock +++ b/components/Cargo.lock @@ -992,12 +992,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - [[package]] name = "libc" version = "0.2.147" @@ -1291,12 +1285,12 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "6c64d9ba0963cdcea2e1b2230fbae2bab30eb25a174be395c41e764bfb65dd62" dependencies = [ "proc-macro2", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] @@ -1320,9 +1314,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.11.9" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +checksum = "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d" dependencies = [ "bytes", "prost-derive", @@ -1330,44 +1324,44 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.11.9" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +checksum = "8bdf592881d821b83d471f8af290226c8d51402259e9bb5be7f9f8bdebbb11ac" dependencies = [ "bytes", "heck", "itertools", - "lazy_static", "log", "multimap", + "once_cell", "petgraph", "prettyplease", "prost", "prost-types", "regex", - "syn 1.0.109", + "syn 2.0.27", "tempfile", "which", ] [[package]] name = "prost-derive" -version = "0.11.9" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +checksum = "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32" dependencies = [ "anyhow", "itertools", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] name = "prost-types" -version = "0.11.9" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +checksum = "e081b29f63d83a4bc75cfc9f3fe424f9156cf92d8a4f0c9407cce9a1b67327cf" dependencies = [ "prost", ] @@ -1977,17 +1971,15 @@ dependencies = [ [[package]] name = "tonic" -version = "0.9.2" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3082666a3a6433f7f511c7192923fa1fe07c69332d3c6a2e6bb040b569199d5a" +checksum = "5469afaf78a11265c343a88969045c1568aa8ecc6c787dbf756e92e70f199861" dependencies = [ "async-stream", "async-trait", "axum", "base64", "bytes", - "futures-core", - "futures-util", "h2", "http", "http-body", @@ -2008,15 +2000,15 @@ dependencies = [ [[package]] name = "tonic-build" -version = "0.9.2" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6fdaae4c2c638bb70fe42803a26fbd6fc6ac8c72f5c59f67ecc2a2dcabf4b07" +checksum = "8b477abbe1d18c0b08f56cd01d1bc288668c5b5cfd19b2ae1886bbf599c546f1" dependencies = [ "prettyplease", "proc-macro2", "prost-build", "quote", - "syn 1.0.109", + "syn 2.0.27", ] [[package]] diff --git a/components/Cargo.toml b/components/Cargo.toml index b520203..5482b74 100644 --- a/components/Cargo.toml +++ b/components/Cargo.toml @@ -48,13 +48,13 @@ protobuf = { version = "3" } protobuf-codegen = { version = "3" } protoc-bin-vendored = { version = "3" } # prost has no features -prost = { version = "0.11" } +prost = { version = "0.12" } # prost-types has no features -prost-types = { version = "0.11" } +prost-types = { version = "0.12" } # tokio does not enable features by default tokio = { version = "1.29" } -tonic = { version = "0.9", default-features = false } -tonic-build = { version = "0.9", default-features = false } +tonic = { version = "0.10", default-features = false } +tonic-build = { version = "0.10", default-features = false } [profile.release] lto = true # Link time optimization (dead code removal etc...) diff --git a/components/LICENSES/tonic-0.9.2.txt b/components/LICENSES/tonic-0.10.0.txt similarity index 100% rename from components/LICENSES/tonic-0.9.2.txt rename to components/LICENSES/tonic-0.10.0.txt