From 60bb9cfd77baf355dc923eaaa1ae6e5747200cd3 Mon Sep 17 00:00:00 2001 From: Leon Schuermann Date: Sun, 20 Oct 2024 23:26:22 -0400 Subject: [PATCH] tools/license-checker: update syntect rev to accelerate tests 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. --- tools/license-checker/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/license-checker/Cargo.toml b/tools/license-checker/Cargo.toml index 3d7c1d6f04..e8108c07dc 100644 --- a/tools/license-checker/Cargo.toml +++ b/tools/license-checker/Cargo.toml @@ -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"