diff --git a/Cargo.lock b/Cargo.lock index 44796fba75980..fc590299afbc1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2164,7 +2164,7 @@ dependencies = [ "memchr", "once_cell", "ordered-float 3.9.1", - "prost", + "prost 0.11.9", "prost-reflect", "regex", "serde", @@ -2289,8 +2289,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 0.1.30", ] @@ -2307,7 +2307,7 @@ dependencies = [ "futures 0.3.28", "hdrhistogram", "humantime", - "prost-types", + "prost-types 0.11.9", "serde", "serde_json", "thread_local", @@ -3775,7 +3775,7 @@ name = "greptime-proto" version = "0.1.0" source = "git+https://github.com/GreptimeTeam/greptime-proto.git?tag=0.2.1#4398d20c56d5f7939cc2960789cb1fa7dd18e6fe" dependencies = [ - "prost", + "prost 0.11.9", "serde", "serde_json", "tonic", @@ -3793,7 +3793,7 @@ dependencies = [ "futures-util", "greptime-proto", "parking_lot", - "prost", + "prost 0.11.9", "rand 0.8.5", "snafu", "tokio", @@ -4966,9 +4966,9 @@ version = "0.1.0" dependencies = [ "bytes 1.4.0", "chrono", - "prost", + "prost 0.11.9", "prost-build", - "prost-types", + "prost-types 0.11.9", "snap", ] @@ -5876,7 +5876,7 @@ dependencies = [ "chrono", "hex", "ordered-float 3.9.1", - "prost", + "prost 0.11.9", "prost-build", "tonic", "tonic-build", @@ -6502,9 +6502,9 @@ dependencies = [ "indexmap 2.0.0", "nom", "num_enum 0.7.0", - "prost", + "prost 0.11.9", "prost-build", - "prost-types", + "prost-types 0.11.9", "snafu", "vector-common", ] @@ -6536,7 +6536,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes 1.4.0", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa8473a65b88506c106c28ae905ca4a2b83a2993640467a41bb3080627ddfd2c" +dependencies = [ + "bytes 1.4.0", + "prost-derive 0.12.0", ] [[package]] @@ -6553,8 +6563,8 @@ dependencies = [ "multimap", "petgraph", "prettyplease", - "prost", - "prost-types", + "prost 0.11.9", + "prost-types 0.11.9", "regex", "syn 1.0.109", "tempfile", @@ -6574,16 +6584,29 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56075c27b20ae524d00f247b8a4dc333e5784f889fe63099f8e626bc8d73486c" +dependencies = [ + "anyhow", + "itertools 0.11.0", + "proc-macro2 1.0.66", + "quote 1.0.33", + "syn 2.0.29", +] + [[package]] name = "prost-reflect" -version = "0.11.5" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b823de344848e011658ac981009100818b322421676740546f8b52ed5249428" +checksum = "057237efdb71cf4b3f9396302a3d6599a92fa94063ba537b66130980ea9909f3" dependencies = [ "base64 0.21.3", "once_cell", - "prost", - "prost-types", + "prost 0.12.0", + "prost-types 0.12.0", "serde", "serde-value", ] @@ -6594,7 +6617,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.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cebe0a918c97f86c217b0f76fd754e966f8b9f41595095cf7d74cb4e59d730f6" +dependencies = [ + "prost 0.12.0", ] [[package]] @@ -6640,9 +6672,9 @@ dependencies = [ "oauth2", "openidconnect", "pem", - "prost", + "prost 0.11.9", "prost-build", - "prost-derive", + "prost-derive 0.11.9", "rand 0.8.5", "regex", "serde", @@ -8805,7 +8837,7 @@ dependencies = [ "hyper-timeout", "percent-encoding", "pin-project", - "prost", + "prost 0.11.9", "rustls-native-certs", "rustls-pemfile", "tokio", @@ -9577,10 +9609,10 @@ dependencies = [ "postgres-openssl", "prometheus-parser", "proptest", - "prost", + "prost 0.11.9", "prost-build", "prost-reflect", - "prost-types", + "prost-types 0.11.9", "pulsar", "quickcheck", "rand 0.8.5", @@ -9847,9 +9879,9 @@ dependencies = [ "parking_lot", "pin-project", "proptest", - "prost", + "prost 0.11.9", "prost-build", - "prost-types", + "prost-types 0.11.9", "quanta", "quickcheck", "quickcheck_macros", diff --git a/Cargo.toml b/Cargo.toml index ea3e573093fbd..d92a3fbebd154 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -213,7 +213,7 @@ rmpv = { version = "1.0.1", default-features = false, features = ["with-serde"], # Prost / Protocol Buffers prost = { version = "0.11", default-features = false, features = ["std"] } -prost-reflect = { version = "0.11", default-features = false, optional = true } +prost-reflect = { version = "0.12", default-features = false, optional = true } prost-types = { version = "0.11", default-features = false, optional = true } # GCP diff --git a/lib/codecs/Cargo.toml b/lib/codecs/Cargo.toml index b77c81d59926f..c5b8f258dbffe 100644 --- a/lib/codecs/Cargo.toml +++ b/lib/codecs/Cargo.toml @@ -17,7 +17,7 @@ memchr = { version = "2", default-features = false } once_cell = { version = "1.18", default-features = false } ordered-float = { version = "3.9.1", default-features = false } prost = { version = "0.11.8", default-features = false, features = ["std"] } -prost-reflect = { version = "0.11", default-features = false, features = ["serde"] } +prost-reflect = { version = "0.12", default-features = false, features = ["serde"] } regex = { version = "1.9.5", default-features = false, features = ["std", "perf"] } serde = { version = "1", default-features = false, features = ["derive"] } serde_json = { version = "1", default-features = false }