Cargo Features
[dependencies]
syntastica-parsers-git = { version = "0.5.0", default-features = false, features = ["some", "most", "all", "runtime-c", "runtime-c2rust", "docs", "asm", "bash", "bibtex", "c", "comment", "css", "diff", "ejs", "elixir", "gleam", "go", "haskell", "hexdump", "javascript", "jsdoc", "json", "jsonc", "julia", "kotlin", "llvm", "lua", "nix", "ocaml_interface", "printf", "python", "ql", "ruby", "rush", "rust", "swift", "typescript", "typst", "wat", "yaml", "zig"] }
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, kotlin, 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
, andall
are available.Include parsers for the most widely known supported languages.
- most all? = asm, c_sharp, clojure, cmake, comment, dart, diff, elixir, haskell, jsdoc, json5, jsonc, luap, make, markdown, markdown_inline, nix, php, php_only, printf, regex, ruby, scala, scss, some, sql, swift, typst, zig
-
Implies
some
. Include parsers for most common languages. - all = bibtex, dockerfile, ebnf, ejs, erb, fish, gleam, hexdump, julia, lalrpop, latex, llvm, most, ocaml, ocaml_interface, ql, rush, ursa, 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 some?
- bibtex all?
- c some?
- c_sharp clojure cmake comment most?
- cpp css some?
- dart diff most?
- dockerfile ebnf ejs all?
- elixir most?
- erb fish gleam all?
- go some?
- haskell most?
- hexdump all?
- html java javascript some?
- jsdoc most?
- json some?
- json5 jsonc most?
- julia all?
- kotlin some?
- lalrpop latex llvm all?
- lua some?
- luap make markdown markdown_inline nix most?
- ocaml ocaml_interface all?
- php php_only printf most?
- python some?
- ql all?
- regex ruby most?
- rush all?
- rust some?
- scala scss sql swift most?
- toml tsx typescript some?
- typst most?
- ursa verilog wat all?
- yaml some?
- zig most?