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 whenever prettyprint is added without default-features = false somewhere in the dependency tree.

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