tree-sitter.tree-sitter/crates/language
Will Lillis f430449ab9
Some checks failed
CI / sanitize (push) Failing after 15s
CI / build (push) Failing after 16s
CI / check-wasm-stdlib (push) Failing after 15s
CI / checks (push) Has been cancelled
fix(rust): address manual-readme lint
Cargo automatically resolves this, so the `Cargo.toml` entries are
redundant.
2026-09-04 14:48:46 -04:00
..
src Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
wasm Allow using Tree-sitter rust lib in multi-threaded web apps compiled to wasm32-unknown-unknown (#5851) 2026-08-14 17:05:42 -07:00
build.rs Allow using Tree-sitter rust lib in multi-threaded web apps compiled to wasm32-unknown-unknown (#5851) 2026-08-14 17:05:42 -07:00
Cargo.toml fix(rust): address manual-readme lint 2026-09-04 14:48:46 -04:00
LICENSE chore: copy license to all packages 2025-09-11 03:12:35 -04:00
README.md Allow using Tree-sitter rust lib in multi-threaded web apps compiled to wasm32-unknown-unknown (#5851) 2026-08-14 17:05:42 -07:00

Tree-sitter Language

This crate provides a LanguageFn type for grammars to create Language instances from a parser, without having to worry about the tree-sitter crate version not matching.

When targeting wasm32-unknown-unknown, this crate also provides the C headers needed to compile generated parsers and external scanners. The final tree-sitter Rust application supplies the corresponding libc-compatible implementations.