diff --git a/Cargo.lock b/Cargo.lock index 68737aee27..28c97ded33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -583,7 +583,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f64b19efc02f0dd6cac1d462e20a1098f425f09cb13624efbb1b7d63f061735" dependencies = [ "bon", - "cached", + "cached 0.59.0", "getrandom 0.4.3", "indenter", "insta", @@ -594,6 +594,23 @@ dependencies = [ "uuid", ] +[[package]] +name = "brush-parser" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2e186b26e0873145bf13e6b922ee3a87851ab73bc00388989fe8982b1de86e6" +dependencies = [ + "bon", + "cached 2.0.2", + "getrandom 0.4.3", + "indenter", + "peg", + "thiserror 2.0.21", + "tracing", + "utf8-chars", + "uuid", +] + [[package]] name = "bstr" version = "1.13.1" @@ -679,8 +696,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53b6f5d101f0f6322c8646a45b7c581a673e476329040d97565815c2461dd0c4" dependencies = [ "ahash", - "cached_proc_macro", - "cached_proc_macro_types", + "cached_proc_macro 0.27.0", + "cached_proc_macro_types 0.1.1", "hashbrown 0.16.1", "once_cell", "parking_lot 0.12.5", @@ -688,6 +705,21 @@ dependencies = [ "web-time", ] +[[package]] +name = "cached" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc0df7748fe2f601e376916ab19e7bfc2c74461b8abe3bce2ce20036ad8de38f" +dependencies = [ + "ahash", + "cached_proc_macro 2.0.0", + "cached_proc_macro_types 1.0.0", + "hashbrown 0.16.1", + "parking_lot 0.12.5", + "thiserror 2.0.21", + "web-time", +] + [[package]] name = "cached_proc_macro" version = "0.27.0" @@ -700,12 +732,30 @@ dependencies = [ "syn 2.0.119", ] +[[package]] +name = "cached_proc_macro" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66e734c52502e6cf54dce2ba07108906b04b8fe57f4f5e3ef7d58267b4abf060" +dependencies = [ + "darling 0.20.11", + "proc-macro2", + "quote", + "syn 2.0.119", +] + [[package]] name = "cached_proc_macro_types" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ade8366b8bd5ba243f0a58f036cc0ca8a2f069cff1a2351ef1cac6b083e16fc0" +[[package]] +name = "cached_proc_macro_types" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26cf465651fa6ad902a2d327ba60c3a6bc61c6a2f4ad70d091cf20dfda0074ef" + [[package]] name = "camellia" version = "0.1.0" @@ -8609,7 +8659,7 @@ dependencies = [ "ast-grep-config", "ast-grep-core", "ast-grep-language", - "brush-parser", + "brush-parser 0.5.0", "fast-glob", "ignore", "js-semver", @@ -9085,7 +9135,7 @@ name = "vt_shell" version = "0.0.0" source = "git+https://github.com/voidzero-dev/vite-task.git?rev=6a23096aa2f04eb59225c6467b15c2965ee6ae33#6a23096aa2f04eb59225c6467b15c2965ee6ae33" dependencies = [ - "brush-parser", + "brush-parser 0.4.0", "serde", "shell-escape", "vt_casefold", diff --git a/Cargo.toml b/Cargo.toml index af2bdc87c4..cae3805dd4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -173,7 +173,7 @@ base-encode = "0.3.1" base64-simd = "0.8.0" bstr = { version = "1.12.0", default-features = false, features = ["alloc", "std"] } bitflags = "2.13.0" -brush-parser = "0.4.0" +brush-parser = "0.5.0" blake3 = "1.8.5" clap = "4.5.40" clap_complete = "4.6.0"