tree-sitter-loader 0.20.0

Locates, builds, and loads tree-sitter grammars at runtime
Documentation
1
2
3
4
5
6
fn main() {
    println!(
        "cargo:rustc-env=BUILD_TARGET={}",
        std::env::var("TARGET").unwrap()
    );
}