Cargo Features

[dependencies]
cursive-syntect = { version = "0.1.0", default-features = false, features = ["regex-onig", "regex-fancy"] }
default = regex-onig

The regex-onig feature is set by default whenever cursive-syntect is added without default-features = false somewhere in the dependency tree.

regex-onig default

Enables regex-onig of syntect

regex-fancy

Enables regex-fancy of syntect

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

syntect regex-fancy? regex-onig