Skip to content

Commit

Permalink
tools/license-checker: update syntect rev to accelerate tests
Browse files Browse the repository at this point in the history
By integrating a `BufWriter` as part of syntect's serialization &
compression routine, updating to this git revision speeds up debug
builds & tests by about 30x, and should shave minutes off of the CI
test workflow.
  • Loading branch information
lschuermann committed Oct 21, 2024
1 parent a109dd6 commit 60bb9cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/license-checker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ thiserror = "1.0.44"
[dependencies.syntect]
default-features = false
features = ["default-syntaxes", "regex-onig", "yaml-load"]
version = "5.2.0"
# version = "5.2.0"

# v5.2.0-23-g31bce65, including a patch to accelerate compressed
# bincode dumps in debug builds
git = "https://github.com/trishume/syntect.git"
rev = "31bce65e2989d594f226af7e7868a96f9d38bef8"

0 comments on commit 60bb9cf

Please sign in to comment.