diff --git a/Cargo.lock b/Cargo.lock index 55c4f366b0b1e..5716f1186370f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -321,7 +321,7 @@ dependencies = [ "bytes", "futures", "paste", - "prost", + "prost 0.11.9", "tokio", "tonic", ] @@ -1717,8 +1717,8 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2895653b4d9f1538a83970077cb01dfc77a4810524e51a110944688e916b18e" dependencies = [ - "prost", - "prost-types", + "prost 0.11.9", + "prost-types 0.11.9", "tonic", "tracing-core", ] @@ -1735,7 +1735,7 @@ dependencies = [ "futures", "hdrhistogram", "humantime", - "prost-types", + "prost-types 0.11.9", "serde", "serde_json", "thread_local", @@ -2625,7 +2625,7 @@ version = "0.11.1" source = "git+https://github.com/risingwavelabs/etcd-client.git?rev=d55550a#d55550a182f2119e39e64858771468e1b26f6777" dependencies = [ "http", - "prost", + "prost 0.11.9", "tokio", "tokio-stream", "tonic", @@ -3238,8 +3238,8 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5453af21ac0cc1f3b2cfb5b687c174e701c10ec2d5c286aff7ca8cbbf08d31b4" dependencies = [ - "prost", - "prost-types", + "prost 0.11.9", + "prost-types 0.11.9", "tonic", ] @@ -3266,7 +3266,7 @@ dependencies = [ "google-cloud-gax", "google-cloud-googleapis", "google-cloud-token", - "prost-types", + "prost-types 0.11.9", "thiserror", "tokio", "tokio-util", @@ -5072,7 +5072,7 @@ dependencies = [ "opentelemetry-semantic-conventions", "opentelemetry_api", "opentelemetry_sdk", - "prost", + "prost 0.11.9", "thiserror", "tokio", "tonic", @@ -5086,7 +5086,7 @@ checksum = "b1e3f814aa9f8c905d0ee4bde026afd3b2577a97c10e1699912e3e44f0c4cbeb" dependencies = [ "opentelemetry_api", "opentelemetry_sdk", - "prost", + "prost 0.11.9", "tonic", ] @@ -5355,14 +5355,14 @@ dependencies = [ [[package]] name = "pbjson-build" -version = "0.5.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdbb7b706f2afc610f3853550cdbbf6372fd324824a087806bd4480ea4996e24" +checksum = "2580e33f2292d34be285c5bc3dba5259542b083cfad6037b6d70345f24dcb735" dependencies = [ "heck 0.4.1", - "itertools 0.10.5", - "prost", - "prost-types", + "itertools 0.11.0", + "prost 0.12.1", + "prost-types 0.12.1", ] [[package]] @@ -5874,7 +5874,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d" +dependencies = [ + "bytes", + "prost-derive 0.12.1", ] [[package]] @@ -5891,8 +5901,8 @@ dependencies = [ "multimap", "petgraph", "prettyplease", - "prost", - "prost-types", + "prost 0.11.9", + "prost-types 0.11.9", "regex", "syn 1.0.109", "tempfile", @@ -5912,6 +5922,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32" +dependencies = [ + "anyhow", + "itertools 0.11.0", + "proc-macro2", + "quote", + "syn 2.0.33", +] + [[package]] name = "prost-helpers" version = "0.1.0" @@ -5929,8 +5952,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b823de344848e011658ac981009100818b322421676740546f8b52ed5249428" dependencies = [ "once_cell", - "prost", - "prost-types", + "prost 0.11.9", + "prost-types 0.11.9", ] [[package]] @@ -5939,7 +5962,16 @@ version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", +] + +[[package]] +name = "prost-types" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e081b29f63d83a4bc75cfc9f3fe424f9156cf92d8a4f0c9407cce9a1b67327cf" +dependencies = [ + "prost 0.12.1", ] [[package]] @@ -6023,9 +6055,9 @@ dependencies = [ "oauth2", "openidconnect", "pem 1.1.1", - "prost", + "prost 0.11.9", "prost-build", - "prost-derive", + "prost-derive 0.11.9", "rand", "regex", "serde", @@ -6421,7 +6453,7 @@ dependencies = [ "bytes", "itertools 0.11.0", "parking_lot 0.12.1", - "prost", + "prost 0.11.9", "risingwave_common", "risingwave_hummock_sdk", "risingwave_object_store", @@ -6629,7 +6661,7 @@ dependencies = [ "pretty_assertions", "procfs 0.15.1", "prometheus", - "prost", + "prost 0.11.9", "rand", "regex", "reqwest", @@ -6838,10 +6870,10 @@ dependencies = [ "parking_lot 0.12.1", "paste", "prometheus", - "prost", + "prost 0.11.9", "prost-build", "prost-reflect", - "prost-types", + "prost-types 0.11.9", "protobuf-native", "pulsar", "rand", @@ -7102,7 +7134,7 @@ dependencies = [ "madsim-tokio", "mockall", "parking_lot 0.12.1", - "prost", + "prost 0.11.9", "risingwave_common", "risingwave_hummock_sdk", "risingwave_pb", @@ -7114,7 +7146,7 @@ dependencies = [ name = "risingwave_java_binding" version = "0.1.0" dependencies = [ - "prost", + "prost 0.11.9", "risingwave_common", "risingwave_expr", "risingwave_jni_core", @@ -7132,7 +7164,7 @@ dependencies = [ "itertools 0.11.0", "jni", "madsim-tokio", - "prost", + "prost 0.11.9", "risingwave_common", "risingwave_expr", "risingwave_hummock_sdk", @@ -7180,7 +7212,7 @@ dependencies = [ "parking_lot 0.12.1", "prometheus", "prometheus-http-query", - "prost", + "prost 0.11.9", "rand", "regex", "reqwest", @@ -7249,7 +7281,7 @@ dependencies = [ "madsim-tonic-build", "pbjson", "pbjson-build", - "prost", + "prost 0.11.9", "prost-helpers", "serde", "walkdir", @@ -7525,7 +7557,7 @@ dependencies = [ "parking_lot 0.12.1", "procfs 0.15.1", "prometheus", - "prost", + "prost 0.11.9", "rand", "risingwave_backup", "risingwave_common", @@ -7588,7 +7620,7 @@ dependencies = [ "parse-display", "pin-project", "prometheus", - "prost", + "prost 0.11.9", "rand", "risingwave_common", "risingwave_connector", @@ -9165,7 +9197,7 @@ dependencies = [ "hyper-timeout", "percent-encoding", "pin-project", - "prost", + "prost 0.11.9", "rustls-pemfile", "tokio", "tokio-rustls 0.24.1", @@ -10002,7 +10034,7 @@ dependencies = [ "postgres-types", "proc-macro2", "prometheus", - "prost", + "prost 0.11.9", "rand", "rand_chacha", "rand_core", diff --git a/src/prost/Cargo.toml b/src/prost/Cargo.toml index dc6375662f806..d43aa8ffb3119 100644 --- a/src/prost/Cargo.toml +++ b/src/prost/Cargo.toml @@ -20,7 +20,7 @@ workspace-hack = { path = "../workspace-hack" } [build-dependencies] fs-err = "2.9" -pbjson-build = "0.5" +pbjson-build = "0.6" tonic-build = { workspace = true } walkdir = "2"