diff --git a/Cargo.lock b/Cargo.lock index f78ad0f4a..6bd41016a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4465,12 +4465,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.25" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" +checksum = "8d3928fb5db768cb86f891ff014f0144589297e3c6a1aba6ed7cecfdace270c7" dependencies = [ "proc-macro2", - "syn 1.0.109", + "syn 2.0.50", ] [[package]] @@ -4535,6 +4535,16 @@ dependencies = [ "prost-derive 0.11.9", ] +[[package]] +name = "prost" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13db3d3fde688c61e2446b4d843bc27a7e8af269a69440c0308021dc92333cc" +dependencies = [ + "bytes", + "prost-derive 0.13.1", +] + [[package]] name = "prost-build" version = "0.8.0" @@ -4555,24 +4565,23 @@ dependencies = [ [[package]] name = "prost-build" -version = "0.11.9" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" +checksum = "5bb182580f71dd070f88d01ce3de9f4da5021db7115d2e1c3605a754153b77c1" dependencies = [ "bytes", - "heck 0.4.1", - "itertools 0.10.5", - "lazy_static", + "heck 0.5.0", + "itertools 0.11.0", "log", "multimap", + "once_cell", "petgraph 0.6.4", "prettyplease", - "prost 0.11.9", - "prost-types 0.11.9", + "prost 0.13.1", + "prost-types 0.13.1", "regex", - "syn 1.0.109", + "syn 2.0.50", "tempfile", - "which", ] [[package]] @@ -4601,6 +4610,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18bec9b0adc4eba778b33684b7ba3e7137789434769ee3ce3930463ef904cfca" +dependencies = [ + "anyhow", + "itertools 0.11.0", + "proc-macro2", + "quote", + "syn 2.0.50", +] + [[package]] name = "prost-types" version = "0.8.0" @@ -4613,11 +4635,11 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.11.9" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +checksum = "cee5168b05f49d4b0ca581206eb14a7b22fafd963efe729ac48eb03266e25cc2" dependencies = [ - "prost 0.11.9", + "prost 0.13.1", ] [[package]] @@ -6388,15 +6410,15 @@ dependencies = [ [[package]] name = "tonic-build" -version = "0.9.2" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6fdaae4c2c638bb70fe42803a26fbd6fc6ac8c72f5c59f67ecc2a2dcabf4b07" +checksum = "fe4ee8877250136bd7e3d2331632810a4df4ea5e004656990d8d66d2f5ee8a67" dependencies = [ "prettyplease", "proc-macro2", - "prost-build 0.11.9", + "prost-build 0.13.1", "quote", - "syn 1.0.109", + "syn 2.0.50", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 4b8ac4c93..eb9f6843b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ thiserror = "1.0" tokio = "1.39" toml = "0.8.19" tonic = "0.9" -tonic-build = "0.9" +tonic-build = "0.12" ttrpc = "0.8.0" ttrpc-codegen = "0.4.2" url = "2.5.2" diff --git a/attestation-agent/kbc/Cargo.toml b/attestation-agent/kbc/Cargo.toml index c53aebf9e..8cff87eeb 100644 --- a/attestation-agent/kbc/Cargo.toml +++ b/attestation-agent/kbc/Cargo.toml @@ -31,7 +31,7 @@ tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } rstest.workspace = true [build-dependencies] -tonic-build = { version = "0.9.2", optional = true } +tonic-build = { version = "0.12.2", optional = true } [features] default = ["sample_kbc", "rust-crypto"]