Cargo Features

[dependencies]
syntastica-parsers-git = { version = "0.4.1", default-features = false, features = ["some", "most", "all", "runtime-c", "runtime-c2rust", "docs", "asm", "c", "comment", "css", "diff", "erb", "go", "haskell", "hexdump", "javascript", "jsdoc", "json", "jsonc", "julia", "latex", "llvm", "lua", "markdown_inline", "ocaml_interface", "php", "python", "ql", "ruby", "rush", "rust", "scss", "typescript", "wat", "yaml"] }

All following code is autogenerated by running cargo xtask codegen in the syntastica workspace.

default = runtime-c

## Features

some most? = bash, c, cpp, css, go, html, java, javascript, json, lua, python, rust, toml, tsx, typescript, yaml

Every supported language has a feature with the same name as the respective public function. Additionally the three feature groups some, most, and all are available.

Include parsers for the most widely known supported languages.

most all? = asm, c_sharp, comment, dart, diff, haskell, jsdoc, json5, jsonc, latex, markdown, markdown_inline, php, regex, ruby, scala, scss, some

Implies some. Include parsers for most common languages.

all = ebnf, ejs, erb, hexdump, julia, llvm, most, ocaml, ocaml_interface, ql, rush, verilog, wat

Implies most. Include parsers for all supported languages.

runtime-c default

Use the standard tree-sitter C runtime. See syntastica's WebAssembly support for more information.

Enables runtime-c of syntastica-core

runtime-c2rust

Use the pure Rust tree-sitter runtime. See syntastica's WebAssembly support for more information.

Enables runtime-c2rust of syntastica-core

docs

Meant to be enabled when building docs

Enables document-features and rustc_version

asm most?
bash c some?
c_sharp comment most?
cpp css some?
dart diff most?
ebnf ejs erb all?
go some?
haskell most?
hexdump all?
html java javascript some?
jsdoc most?
json some?
json5 jsonc most?
julia all?
latex most?
llvm all?
lua some?
markdown markdown_inline most?
ocaml ocaml_interface all?
php most?
python some?
ql all?
regex ruby most?
rush all?
rust some?
scala scss most?
toml tsx typescript some?
verilog wat all?
yaml some?