Cargo Features

[dependencies]
ast-grep-language = { version = "0.31.1", default-features = false, features = ["builtin-parser"] }
default = builtin-parser

The builtin-parser feature is set by default whenever ast-grep-language is added without default-features = false somewhere in the dependency tree.

builtin-parser default = tree-sitter-bash, tree-sitter-c, tree-sitter-c-sharp, tree-sitter-cpp, tree-sitter-css, tree-sitter-elixir, tree-sitter-go, tree-sitter-haskell, tree-sitter-html, tree-sitter-java, tree-sitter-javascript, tree-sitter-json, tree-sitter-kotlin, tree-sitter-lua, tree-sitter-php, tree-sitter-python, tree-sitter-ruby, tree-sitter-rust, tree-sitter-scala, tree-sitter-sequel, tree-sitter-swift, tree-sitter-typescript, tree-sitter-yaml

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.

tree-sitter-bash builtin-parser
tree-sitter-c builtin-parser
tree-sitter-cpp builtin-parser
tree-sitter-c-sharp builtin-parser
tree-sitter-css builtin-parser
tree-sitter-elixir builtin-parser
tree-sitter-go builtin-parser
tree-sitter-haskell builtin-parser
tree-sitter-html builtin-parser
tree-sitter-java builtin-parser
tree-sitter-javascript builtin-parser
tree-sitter-json builtin-parser

Enables tree-sitter-json ^0.23.0

tree-sitter-kotlin builtin-parser

Enables tree-sitter-kotlin-sg

tree-sitter-lua builtin-parser
tree-sitter-php builtin-parser
tree-sitter-python builtin-parser
tree-sitter-ruby builtin-parser
tree-sitter-rust builtin-parser
tree-sitter-scala builtin-parser
tree-sitter-sequel builtin-parser
tree-sitter-swift builtin-parser
tree-sitter-typescript builtin-parser
tree-sitter-yaml builtin-parser