Cargo Features
[dependencies]
tree-sitter = { version = "0.24.6", default-features = false, features = ["std", "wasm", "bindgen"] }
- default = std
-
The
std
feature is set by default whenevertree-sitter
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables perf and std of regex, unicode of regex-syntax
- wasm = wasmtime-c-api
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.
- bindgen build implicit feature
-
Enables bindgen ^0.70.1
bindgen:
Automatically generates Rust FFI bindings to C and C++ libraries
- wasmtime-c-api wasm?
-
Enables wasmtime-c-api-impl ^25.0.2