{"id":70711,"library":"tree-sitter-loader","title":"Tree-sitter-loader","description":"Locates, builds, and loads tree-sitter grammars at runtime.","status":"active","version":"0.26.8","language":"rust","source_language":null,"source_url":"https://github.com/tree-sitter/tree-sitter","tags":["tree-sitter","parser","grammar","runtime"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntree-sitter-loader = \"0.26.8\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add tree-sitter-loader","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Loader","correct":"use tree_sitter_loader::Loader;"}],"quickstart":{"code":"use tree_sitter_loader::Loader;\n\nfn main() {\n    let mut loader = Loader::new();\n    let language = loader.load_language(\"rust\").unwrap();\n    println!(\"Loaded grammar: {:?}\", language);\n}","lang":"rust","description":"Loads a tree-sitter grammar for the Rust language."},"warnings":[{"fix":"Ensure the grammar is present (e.g., via `tree-sitter-rust` crate) or use the `load_grammar_from_path` method.","message":"Requires the tree-sitter grammar to be installed or available in the system.","severity":"gotcha","affected_versions":">=0.26.0"}],"env_vars":null,"search_vec":"'build':6 'grammar':12,19 'load':8 'loader':4 'locat':5 'parser':18 'runtim':14,20 'sitter':3,11,17 'tree':2,10,16 'tree-sitt':9,15 'tree-sitter-load':1","created_at":"2026-06-17T18:18:10.972804+00:00","updated_at":"2026-06-17T18:18:10.972804+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://tree-sitter.github.io/tree-sitter","github":"https://github.com/tree-sitter/tree-sitter","docs":"https://docs.rs/tree-sitter-loader/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}