tree-sitter/cli/loader
Guillaume Bertholon 1c7b518b9d
build(loader): make dependencies optional (#1638)
The `tree-sitter-loader` crate currently always pulls
`tree-sitter-highlight` and `tree-sitter-tags` as dependencies.
However, apart from the tree-sitter CLI, most clients will not need both
of these libraries.

This commit makes the dependencies optional, but still includes them by
default in order not to break the backward compatibility.
2024-07-28 10:59:21 +03:00
..
src build(loader): make dependencies optional (#1638) 2024-07-28 10:59:21 +03:00
build.rs fix(cli): keep default cc flags in build 2024-05-05 13:06:45 -04:00
Cargo.toml build(loader): make dependencies optional (#1638) 2024-07-28 10:59:21 +03:00
emscripten-version build: update emscripten version 2024-04-11 22:35:43 -04:00
README.md doc: Include README as top-level module documentation for all crates 2023-08-28 23:09:37 +03: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.