tree-sitter/crates/loader
DanikVitek ffd777ba65 fix: Naming; Lifetimes; deny(rust_2018_idioms)
- One has to think about lifetimes if a type has one:
  - `<&'a Node<'tree>>::language` now returns `Language<'tree>` instead of
    `Language<'a>`, as it should;
- Renamed `struct TreeCursor<'cursor>` into `struct TreeCursor<'tree>`,
  to be consistant with the usages and reduse confusion;
- Remove explicit "outlives" requirements from `QueryMatches`, `QueryCaptures`,
  and their impl blocks, because they're inferred
- TODO: should `'query` be renamed into `'cursor`?
2026-01-11 00:40:33 +02:00
..
src fix: Naming; Lifetimes; deny(rust_2018_idioms) 2026-01-11 00:40:33 +02:00
build.rs Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
Cargo.toml refactor(loader)!: transition from anyhow to thiserror 2025-11-14 11:28:00 +01:00
emscripten-version chore: upgrade emscripten to 4.0.15 2025-09-21 16:28:08 -04:00
LICENSE chore: copy license to all packages 2025-09-11 03:12:35 -04:00
README.md Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
wasi-sdk-version feat(xtask): bring wasi-sdk treatment up to par with the loader 2025-11-27 16:06:25 -05:00

Tree-sitter Loader

The tree-sitter command-line program will dynamically find and build grammars at runtime, if you have cloned the grammars' repositories to your local filesystem. This helper crate implements that logic, so that you can use it in your own program analysis tools, as well.