From 770b6d25ae7268d0d08a39c9013fac061b72acff Mon Sep 17 00:00:00 2001 From: happysalada Date: Wed, 15 Sep 2021 12:15:44 +0900 Subject: [PATCH] deps: unify pest dependency --- Cargo.lock | 19 +++++-------------- Cargo.toml | 4 ++++ 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1aa89ad47..336b7865d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1674,7 +1674,7 @@ dependencies = [ "obkv", "once_cell", "ordered-float", - "pest 2.1.3 (git+https://github.com/pest-parser/pest.git?rev=51fd1d49f1041f7839975664ef71fe15c7dcaf67)", + "pest", "pest_derive", "rayon", "roaring", @@ -1901,15 +1901,6 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" -[[package]] -name = "pest" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" -dependencies = [ - "ucd-trie", -] - [[package]] name = "pest" version = "2.1.3" @@ -1924,7 +1915,7 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0" dependencies = [ - "pest 2.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "pest", "pest_generator", ] @@ -1934,7 +1925,7 @@ version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55" dependencies = [ - "pest 2.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "pest", "pest_meta", "proc-macro2 1.0.29", "quote 1.0.9", @@ -1948,7 +1939,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d" dependencies = [ "maplit", - "pest 2.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "pest", "sha-1 0.8.2", ] @@ -2444,7 +2435,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" dependencies = [ - "pest 2.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "pest", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index a1dca038e..ca36c808d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,10 @@ members = [ "meilisearch-http", "meilisearch-error", ] +resolver = "2" [profile.release] debug = true + +[patch.crates-io] +pest = { git = "https://github.com/pest-parser/pest.git", rev = "51fd1d49f1041f7839975664ef71fe15c7dcaf67" }