Cargo Features

[dependencies]
ast-grep-language = { version = "0.29.0", 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-dart, 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

Enables tree-sitter-bash ^0.21.0

tree-sitter-c builtin-parser

Enables tree-sitter-c ^0.21.0

tree-sitter-cpp builtin-parser

Enables tree-sitter-cpp ^0.22.0

tree-sitter-c-sharp builtin-parser

Enables tree-sitter-c-sharp ^0.21.1

tree-sitter-css builtin-parser

Enables tree-sitter-css ^0.21.0

tree-sitter-dart builtin-parser
tree-sitter-elixir builtin-parser

Enables tree-sitter-elixir ^0.2.0

tree-sitter-go builtin-parser

Enables tree-sitter-go ^0.21.0

tree-sitter-haskell builtin-parser

Enables tree-sitter-haskell ^0.21.0

tree-sitter-html builtin-parser

Enables tree-sitter-html ^0.20.3

tree-sitter-java builtin-parser

Enables tree-sitter-java ^0.21.0

tree-sitter-javascript builtin-parser

Enables tree-sitter-javascript ^0.21.3

tree-sitter-json builtin-parser

Enables tree-sitter-json ^0.21.0

tree-sitter-kotlin builtin-parser
tree-sitter-lua builtin-parser

Enables tree-sitter-lua ^0.1.0

tree-sitter-php builtin-parser
tree-sitter-python builtin-parser

Enables tree-sitter-python ^0.21.0

tree-sitter-ruby builtin-parser

Enables tree-sitter-ruby ^0.21.0

tree-sitter-rust builtin-parser

Enables tree-sitter-rust ^0.21.2

tree-sitter-scala builtin-parser

Enables tree-sitter-scala ^0.22.0

tree-sitter-sequel builtin-parser
tree-sitter-swift builtin-parser

Enables tree-sitter-swift =0.5.0

tree-sitter-typescript builtin-parser

Enables tree-sitter-typescript ^0.21.1

tree-sitter-yaml builtin-parser