Cargo Features

Strainer has no features set by default.

[dependencies]
strainer = { version = "0.5.0", features = ["syntax-highlighting"] }
syntax-highlighting = syntect

Affects printing::print_occurences_highlighted, printing::Highlighter, printing::print_all_highlighted

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 syntax-highlighting?

Enables syntect ^4.1.0