Cargo Features
[dependencies]
highlighter = { version = "0.1.1-alpha", default-features = false, features = ["all-languages", "brainheck", "target-html"] }
- default = all-languages, target-html
-
These default features are set whenever
highlighter
is added without
somewhere in the dependency tree.default-features = false - all-languages default = brainheck
- brainheck all-languages
-
Enables brainheck of highlighter-languages
- target-html default = highlighter-target-html
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.