Cargo Features

[dependencies]
tree-sitter = { version = "0.24.4", default-features = false, features = ["std", "wasm", "bindgen"] }
default = std

The std feature is set by default whenever tree-sitter is added without default-features = false somewhere in the dependency tree.

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

bindgen:

Automatically generates Rust FFI bindings to C and C++ libraries

wasmtime-c-api wasm?

Enables wasmtime-c-api-impl ^25.0.2