Skip to content

Commit b5ba128

Browse files
authored
Make syntect fancy (#267)
This avoids a C dependency by switching to the pure Rust `regex` crate. Thanks @cuviper for suggesting this in #265.
1 parent 8a89924 commit b5ba128

File tree

2 files changed

+27
-24
lines changed

2 files changed

+27
-24
lines changed

Cargo.lock

Lines changed: 26 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

i18n-helpers/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pulldown-cmark-to-cmark = "21.0.0"
2323
regex = "1.11"
2424
semver = "1.0.26"
2525
serde_json.workspace = true
26-
syntect = { version = "5.2.0", default-features = false, features = ["parsing", "default-syntaxes", "regex-onig"] }
26+
syntect = { version = "5.2.0", default-features = false, features = ["parsing", "default-syntaxes", "regex-fancy"] }
2727
textwrap = { version = "0.16.2", default-features = false }
2828

2929
[dev-dependencies]

0 commit comments

Comments
 (0)