Cargo Features

[dependencies]
itsy-gitsy = { version = "0.5.0", default-features = false, features = ["markdown", "highlight_fast", "highlight"] }
default = highlight, markdown

These default features are set whenever itsy-gitsy is added without default-features = false somewhere in the dependency tree.

markdown default

Enables pulldown-cmark ^0.9.2

highlight_fast

Enables default-onig of syntect

highlight default

Enables default-fancy of syntect

syntect:

In order to switch to the fancy-regex engine, disable default features then add the default-fancy feature

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 highlight highlight_fast?