From 4857705021d58eb8c2863f6667ae4524c9ee02a7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 10:08:13 +0000 Subject: [PATCH] Update tonic --- Cargo.lock | 142 +++++++++++++------------------------------ gaia-stub/Cargo.toml | 8 +-- gaia-tmtc/Cargo.toml | 4 +- tmtc-c2a/Cargo.toml | 14 ++--- 4 files changed, 56 insertions(+), 112 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6d68ce1c..479cf23e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -855,15 +855,6 @@ version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.11.0" @@ -1162,12 +1153,12 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 1.0.109", + "syn 2.0.39", ] [[package]] @@ -1181,9 +1172,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", @@ -1191,44 +1182,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 0.10.5", - "lazy_static", + "itertools", "log", "multimap", + "once_cell", "petgraph", "prettyplease", "prost", "prost-types", "regex", - "syn 1.0.109", + "syn 2.0.39", "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 0.10.5", + "itertools", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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", ] @@ -1367,25 +1358,10 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots 0.25.2", + "webpki-roots", "winreg", ] -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin 0.5.2", - "untrusted 0.7.1", - "web-sys", - "winapi", -] - [[package]] name = "ring" version = "0.17.5" @@ -1395,8 +1371,8 @@ dependencies = [ "cc", "getrandom", "libc", - "spin 0.9.8", - "untrusted 0.9.0", + "spin", + "untrusted", "windows-sys", ] @@ -1435,8 +1411,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "446e14c5cda4f3f30fe71863c34ec70f5ac79d6087097ad0bb433e1be5edf04c" dependencies = [ "log", - "ring 0.17.5", - "rustls-webpki 0.101.7", + "ring", + "rustls-webpki", "sct", ] @@ -1449,24 +1425,14 @@ dependencies = [ "base64 0.21.5", ] -[[package]] -name = "rustls-webpki" -version = "0.100.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6a5fc258f1c1276dfe3016516945546e2d5383911efc0fc4f1cdc5df3a4ae3" -dependencies = [ - "ring 0.16.20", - "untrusted 0.7.1", -] - [[package]] name = "rustls-webpki" version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.5", - "untrusted 0.9.0", + "ring", + "untrusted", ] [[package]] @@ -1493,8 +1459,8 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.5", - "untrusted 0.9.0", + "ring", + "untrusted", ] [[package]] @@ -1519,7 +1485,7 @@ dependencies = [ "sentry-tracing", "tokio", "ureq", - "webpki-roots 0.25.2", + "webpki-roots", ] [[package]] @@ -1707,12 +1673,6 @@ dependencies = [ "windows-sys", ] -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - [[package]] name = "spin" version = "0.9.8" @@ -1917,7 +1877,7 @@ dependencies = [ "gaia-ccsds-c2a", "gaia-tmtc", "http", - "itertools 0.11.0", + "itertools", "kble-socket", "prost", "prost-types", @@ -2030,17 +1990,15 @@ dependencies = [ [[package]] name = "tonic" -version = "0.9.2" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3082666a3a6433f7f511c7192923fa1fe07c69332d3c6a2e6bb040b569199d5a" +checksum = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e" dependencies = [ "async-stream", "async-trait", "axum", "base64 0.21.5", "bytes", - "futures-core", - "futures-util", "h2", "http", "http-body", @@ -2049,6 +2007,7 @@ dependencies = [ "percent-encoding", "pin-project", "prost", + "rustls", "rustls-pemfile", "tokio", "tokio-rustls", @@ -2057,27 +2016,27 @@ dependencies = [ "tower-layer", "tower-service", "tracing", - "webpki-roots 0.23.1", + "webpki-roots", ] [[package]] name = "tonic-build" -version = "0.9.2" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6fdaae4c2c638bb70fe42803a26fbd6fc6ac8c72f5c59f67ecc2a2dcabf4b07" +checksum = "9d021fc044c18582b9a2408cd0dd05b1596e3ecdb5c4df822bb0183545683889" dependencies = [ "prettyplease", "proc-macro2", "prost-build", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[package]] name = "tonic-health" -version = "0.9.2" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "080964d45894b90273d2b1dd755fdd114560db8636bb41cea615213c45043c4d" +checksum = "f80db390246dfb46553481f6024f0082ba00178ea495dbb99e70ba9a4fafb5e1" dependencies = [ "async-stream", "prost", @@ -2088,9 +2047,9 @@ dependencies = [ [[package]] name = "tonic-reflection" -version = "0.9.2" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0543d7092032041fbeac1f2c84304537553421a11a623c2301b12ef0264862c7" +checksum = "3fa37c513df1339d197f4ba21d28c918b9ef1ac1768265f11ecb6b7f1cba1b76" dependencies = [ "prost", "prost-types", @@ -2101,17 +2060,17 @@ dependencies = [ [[package]] name = "tonic-web" -version = "0.9.2" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b00ec4842256d1fe0a46176e2ef5bc357664c66e7d91aff5a7d43d83a65f47" +checksum = "0fddb2a37b247e6adcb9f239f4e5cefdcc5ed526141a416b943929f13aea2cce" dependencies = [ "base64 0.21.5", "bytes", - "futures-core", "http", "http-body", "hyper", "pin-project", + "tokio-stream", "tonic", "tower-http", "tower-layer", @@ -2293,12 +2252,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - [[package]] name = "untrusted" version = "0.9.0" @@ -2315,9 +2268,9 @@ dependencies = [ "log", "once_cell", "rustls", - "rustls-webpki 0.101.7", + "rustls-webpki", "url", - "webpki-roots 0.25.2", + "webpki-roots", ] [[package]] @@ -2456,15 +2409,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "webpki-roots" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" -dependencies = [ - "rustls-webpki 0.100.3", -] - [[package]] name = "webpki-roots" version = "0.25.2" diff --git a/gaia-stub/Cargo.toml b/gaia-stub/Cargo.toml index 74d890ce..b4a9bb9c 100644 --- a/gaia-stub/Cargo.toml +++ b/gaia-stub/Cargo.toml @@ -7,9 +7,9 @@ license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tonic = "0.9" -prost = "0.11" -prost-types = "0.11" +tonic = "0.10" +prost = "0.12" +prost-types = "0.12" [build-dependencies] -tonic-build = "0.9" +tonic-build = "0.10" diff --git a/gaia-tmtc/Cargo.toml b/gaia-tmtc/Cargo.toml index 9d582533..b7142cee 100644 --- a/gaia-tmtc/Cargo.toml +++ b/gaia-tmtc/Cargo.toml @@ -14,7 +14,7 @@ chrono = "0.4" tracing = "0.1" tokio = { version = "1", features = ["sync"] } tokio-stream = { version = "0.1", features = ["sync"] } -tonic = "0.9" -prost-types = "0.11" +tonic = "0.10" +prost-types = "0.12" gaia-stub = { path = "../gaia-stub" } serde = { version = "1", features = ["derive"] } diff --git a/tmtc-c2a/Cargo.toml b/tmtc-c2a/Cargo.toml index 4cc84910..edde4788 100644 --- a/tmtc-c2a/Cargo.toml +++ b/tmtc-c2a/Cargo.toml @@ -21,12 +21,12 @@ http = "0.2" tower = "0.4" tower-http = { version = "0.4", features = ["trace", "cors"] } tokio = { version = "1", features = ["full"] } -prost = "0.11" -prost-types = "0.11" -tonic = { version = "0.9", features = ["tls", "tls-roots-common", "tls-webpki-roots"] } -tonic-health = "0.9" -tonic-reflection = "0.9" -tonic-web = "0.9" +prost = "0.12" +prost-types = "0.12" +tonic = { version = "0.10", features = ["tls", "tls-roots-common", "tls-webpki-roots"] } +tonic-health = "0.10" +tonic-reflection = "0.10" +tonic-web = "0.10" sentry = { version = "0.31", default-features = false, features = ["backtrace", "contexts", "panic", "rustls", "reqwest"] } sentry-tracing = "0.31" tlmcmddb = "0.2.0" @@ -38,4 +38,4 @@ tokio-tungstenite = "0.18" itertools = "0.11.0" [build-dependencies] -tonic-build = "0.9" +tonic-build = "0.10"