Cargo Features
[dependencies]
pepegsitter = { version = "0.2.2", default-features = false, features = ["html", "markdown", "typescript-tsx", "yaml", "ts-highlight"] }
- default = bash, c, cpp, css, d, go, haskell, html, java, javascript, json, lua, markdown, python, rust, toml, ts-highlight, typescript-tsx, typescript-typescript, vim, yaml
-
These default features are set whenever
pepegsitter
is added without
somewhere in the dependency tree.default-features = false - bash c cpp css d go haskell html default
- java javascript json lua markdown default
- python rust toml typescript-tsx default
- typescript-typescript vim yaml default
- ts-highlight default = tree-sitter-highlight
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.