From a421cd94ac14f6c33d8d70741540cfbc49bb3e92 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 25 Apr 2024 18:49:51 +0200 Subject: rebel-parse: use git version of peg Use the development version for now to take advantage of the latest performance improvements. --- Cargo.lock | 9 +++------ crates/rebel-parse/Cargo.toml | 3 +-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8493425..5f256e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -423,8 +423,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "peg" version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "400bcab7d219c38abf8bd7cc2054eb9bbbd4312d66f6a5557d572a203f646f61" +source = "git+https://github.com/kevinmehall/rust-peg.git#2fc1cadaa1efcf47c867715d063ac2d7296945c6" dependencies = [ "peg-macros", "peg-runtime", @@ -433,8 +432,7 @@ dependencies = [ [[package]] name = "peg-macros" version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46e61cce859b76d19090f62da50a9fe92bab7c2a5f09e183763559a2ac392c90" +source = "git+https://github.com/kevinmehall/rust-peg.git#2fc1cadaa1efcf47c867715d063ac2d7296945c6" dependencies = [ "peg-runtime", "proc-macro2", @@ -444,8 +442,7 @@ dependencies = [ [[package]] name = "peg-runtime" version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36bae92c60fa2398ce4678b98b2c4b5a7c61099961ca1fa305aec04a9ad28922" +source = "git+https://github.com/kevinmehall/rust-peg.git#2fc1cadaa1efcf47c867715d063ac2d7296945c6" [[package]] name = "pest" diff --git a/crates/rebel-parse/Cargo.toml b/crates/rebel-parse/Cargo.toml index b87ba3f..0233af8 100644 --- a/crates/rebel-parse/Cargo.toml +++ b/crates/rebel-parse/Cargo.toml @@ -8,10 +8,9 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +peg = { git = "https://github.com/kevinmehall/rust-peg.git", version = "0.8.2" } rebel-common = { path = "../rebel-common" } -peg = "0.8.2" - [dev-dependencies] clap = { version = "4.0.0", features = ["derive"] } divan = "0.1.14" -- cgit v1.2.3