diff --git a/Cargo.lock b/Cargo.lock index 436985797..7d7c6ce9a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -764,7 +764,7 @@ dependencies = [ "once_cell", "opentelemetry", "opentelemetry-jaeger", - "prost", + "prost 0.12.1", "public-suffix", "rand", "regex", @@ -822,7 +822,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2895653b4d9f1538a83970077cb01dfc77a4810524e51a110944688e916b18e" dependencies = [ - "prost", + "prost 0.11.9", "prost-types", "tonic", "tracing-core", @@ -2686,7 +2686,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]] @@ -2702,13 +2712,26 @@ 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", + "proc-macro2", + "quote", + "syn 2.0.37", +] + [[package]] name = "prost-types" version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", ] [[package]] @@ -3703,7 +3726,7 @@ dependencies = [ "hyper-timeout", "percent-encoding", "pin-project", - "prost", + "prost 0.11.9", "tokio", "tokio-stream", "tower", diff --git a/clash_lib/Cargo.toml b/clash_lib/Cargo.toml index 96cd6f379..08c00edfc 100644 --- a/clash_lib/Cargo.toml +++ b/clash_lib/Cargo.toml @@ -28,7 +28,7 @@ hyper = { version = "0.14", features = ["http1","http2","client", "server", "tcp http = { version = "0.2" } httparse = "1.8.0" h2 = "0.3" -prost = "0.11" +prost = "0.12" tower = { version = "0.4", features = ["util"] } libc = "0.2" foreign-types-shared = "0.3.1"