Cargo Features
syntastica-parsers has no features set by default.
[dependencies]
syntastica-parsers = { version = "0.5.0", features = ["some", "most", "all", "docs", "asm", "bash", "bibtex", "c", "c_sharp", "clojure", "cmake", "comment", "cpp", "css", "dart", "diff", "ebnf", "ejs", "elixir", "erb", "fish", "gleam", "go", "haskell", "hexdump", "html", "java", "javascript", "jsdoc", "json", "jsonc", "julia", "kotlin", "llvm", "lua", "luap", "make", "markdown_inline", "nix", "ocaml_interface", "php_only", "printf", "python", "ql", "regex", "ruby", "rush", "rust", "scala", "scss", "sql", "swift", "toml", "typescript", "typst", "wat", "yaml", "zig"] }
All following code is autogenerated by running
cargo xtask codegen
in the syntastica workspace.
- default
-
### 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. - docs
-
Meant to be enabled when building docs
Enables document-features and rustc_version
- asm most?
-
Enables tree-sitter-asm
- bash some?
-
Enables tree-sitter-bash
- bibtex all?
- c some?
-
Enables tree-sitter-c
- c_sharp most?
-
Enables tree-sitter-c-sharp
- clojure most?
- cmake most?
-
Enables tree-sitter-cmake
- comment most?
- cpp some?
-
Enables tree-sitter-cpp
- css some?
-
Enables tree-sitter-css
- dart most?
- diff most?
-
Enables tree-sitter-diff
- dockerfile ebnf all?
- ejs all?
-
Enables tree-sitter-embedded-template
- elixir most?
-
Enables tree-sitter-elixir
- erb all?
-
Enables tree-sitter-embedded-template
- fish all?
- gleam all?
-
Enables tree-sitter-gleam
- go some?
-
Enables tree-sitter-go
- haskell most?
-
Enables tree-sitter-haskell
- hexdump all?
- html some?
-
Enables tree-sitter-html
- java some?
-
Enables tree-sitter-java
- javascript some?
-
Enables tree-sitter-javascript
- jsdoc most?
-
Enables tree-sitter-jsdoc
- json some?
-
Enables tree-sitter-json
- json5 jsonc most?
- julia all?
-
Enables tree-sitter-julia
- kotlin some?
- lalrpop latex llvm all?
- lua some?
-
Enables tree-sitter-lua
- luap most?
- make most?
-
Enables tree-sitter-make
- markdown markdown_inline most?
-
Enables tree-sitter-md
- nix most?
-
Enables tree-sitter-nix
- ocaml ocaml_interface all?
-
Enables tree-sitter-ocaml
- php php_only most?
-
Enables tree-sitter-php
- printf most?
-
Enables tree-sitter-printf
- python some?
-
Enables tree-sitter-python
- ql all?
-
Enables tree-sitter-ql
- regex most?
-
Enables tree-sitter-regex
- ruby most?
-
Enables tree-sitter-ruby
- rush all?
-
Enables tree-sitter-rush
- rust some?
-
Enables tree-sitter-rust
- scala most?
-
Enables tree-sitter-scala
- scss most?
- sql most?
-
Enables tree-sitter-sequel
- swift most?
-
Enables tree-sitter-swift
- toml some?
- tsx typescript some?
-
Enables tree-sitter-typescript
- typst most?
- ursa verilog wat all?
- yaml some?
-
Enables tree-sitter-yaml
- zig most?
-
Enables tree-sitter-zig