Cargo Features
[dependencies]
prettyprint = { version = "0.8.1", default-features = false, features = ["regex-onig", "regex-fancy"] }
- default = regex-onig
-
The
regex-onig
feature is set by default wheneverprettyprint
is added without
somewhere in the dependency tree.default-features = false - regex-onig default
-
Use the "oniguruma" regex engine
Enables regex-onig of syntect ^4.1.0
- regex-fancy
-
Use the pure rust "fancy-regex" engine
Enables regex-fancy of syntect ^4.1.0