$ tree-sitter-rust
v0.24.1MAJOR UPDATERust grammar for tree-sitter
Latest Update Summary
Crate
Name: tree-sitter-rust New version: 0.24.1 Release date: 2026-03-19T17:18:03.427110Z
Crate readme
Short description Rust grammar for tree-sitter.
Long description tree-sitter-rust provides a Rust grammar for the tree-sitter parsing system. It is designed to parse Rust files quickly, taking about two to three times longer than rustc's parser when initially parsing a file, but it is capable of updating its syntax tree in less than a millisecond after file edits, thanks to its incremental parsing system.
Features • Speed • Incremental parsing system
Code Examples Basic usage
$ tree-sitter parse examples/ast.rs --quiet --time
Links • https://crates.io/crates/tree-sitter-rust • https://doc.rust-lang.org/reference/ • https://doc.rust-lang.org/stable/book/appendix-01-keywords.html • https://doc.rust-lang.org/stable/book/appendix-02-operators.html
https://api.github.com/repos/tree-sitter/tree-sitter-rust/releases/299070008
Release info
Release version:
Release description
Code Examples
Patch update: 0.24.0 → 0.24.1
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add tree-sitter-rustOr add to Cargo.toml: tree-sitter-rust = "0.24.1"