Crates / tree-sitter
Rust crate · real downloads · data Oct 27, 2026
tree-sitter downloads, and should you depend on it?
Rust bindings to the Tree-sitter parsing library crates.io · docs · repository
Ranked in best Rust crates for parsing · alternatives · is it still maintained?
Widely used and gaining.
tree-sitter: 2,587 crates depend on it; downloads don't spike on releases.
How this verdict is decided (4 rules)
- Usage: crates.io reverse dependencies (crates that list it as a dependency): 10,000+ = foundational, 1,000+ = widely used, 100+ = established, under 100 = few direct dependents.
- Direction: the median quiet day in the last 30 days of the window against the first 30, read against the median tracked crate (the whole field moved +39% from late summer to October, so a raw trend says nothing). 10%+ ahead of the field = gaining; 10%+ behind = losing ground; otherwise steady. Steady with no release in 2+ years = quiet for years.
- Release spikes: the median release-window day against the quiet-day baseline: under 1.15x = no spike, 1.15x to 1.3x = small bumps, 1.3x or more = jumps on release days.
- Release recency: days since the newest version that was not yanked, from crates.io publish times.
release window (release day + next day)quiet dayquiet-day median · download the 89 days as CSV
The numbers in one paragraphtree-sitter got 19,759,341 crates.io downloads from Jul 30, 2026 to Oct 26, 2026. 9% of them landed within 2 days of one of its 4 releases. On the other 81 quiet days it got a median of 207,185 a day, about 1,450,295 a week. Capping release days at that baseline leaves 19,429,449 release-adjusted downloads for the window.
What this means if you're choosing a dependency
- Well trodden. 2,587 crates depend on it, so common problems tend to have public answers and breaking changes get noticed fast.
- Actively released. 0.27.1 shipped 19 days ago (Oct 8, 2026).
- Still pre-1.0 (0.27.1). Under Cargo's semver rules a 0.x minor bump may break you, so pin the minor version (
tree-sitter = "0.27") and read the changelog on upgrades. - Fit check: license MIT, edition 2024, needs Rust 1.90 or newer (from the latest version's manifest).
- Compare it by the baseline, not the raw count. 9% of its 19,759,341 downloads in the window landed within 2 days of a release; the steady number is 207,185 a day.
Alternatives that do a similar job
Crates that share its crates.io category or keywords, most similar first. Each line is the crate's own description, then how it compares on the same data.
Its place in the dependency graph
tree-sitter builds on
Tracked crates its latest version (0.27.1) depends on (optional ones marked).
What the chart says
- Weekend quiet days ran at 81% of weekday quiet days (171,370 vs 210,291). A moderate dip: a mix of work-week builds and always-on automation.
- Biggest day: 395,691 on Oct 9, 2026, inside a release window.
Every number
| All-time downloads | 50,153,923 (outside the crates.io top 1,000 by all-time downloads) |
| Downloads in the window | 19,759,341 (Jul 30, 2026 to Oct 26, 2026, 89 days) |
| Within 2 days of a release | 1,680,600 (8.5%) |
| Quiet-day median (baseline) | 207,185 a day; weekdays 210,291, weekends 171,370 |
| Release-adjusted downloads | 19,429,449 (release-window days capped at the baseline) |
| Baseline rank | #967 of the 1243 crates we track |
| Quiet-day trend | +62% raw, +17% against the median tracked crate (+39%) |
| Releases in the window | 4 |
| Versions published, ever | 82 |
| Latest version | 0.27.1, published Oct 8, 2026 (license MIT, edition 2024, MSRV 1.90) |
| First published | May 18, 2018 |
| Reverse dependencies | 2,587 |
Releases in the window
Each one opens a 2-day release window on the chart.
| Version | Published | Downloads that version got (lifetime) |
|---|---|---|
| 0.27.1 | Oct 8, 2026 | 514,156 |
| 0.27.0 | Aug 30, 2026 | 1,179,465 |
| 0.26.13 | Aug 23, 2026 | 1,220,388 |
| 0.26.12 | Aug 8, 2026 | 798,491 |
How we compute this
crates.io counts every download, including CI runners, mirrors and bots that fetch each new version, so raw counts run high (why, in The Manual). We split the last 89 days into release windows (the day a version of tree-sitter was published, plus the next day) and quiet days, and use the median quiet day as the baseline: an upper bound on steady use, never a head count. The method and data come from our study of 90 days of crates.io data from 69 crates, featured in This Week in Rust #674; check any crate live with the real-downloads checker.
Badge for your README
Maintainers can show the baseline in a README. It is optional, updates when we refresh the data, and links back here. Preview, then copy:
README, light
README, dark
Publishing a crate of your own? How to publish a Rust crate to crates.io, step by step.
Categories
Sources
- Daily downloads: crates.io API, /crates/tree-sitter/downloads (last 90 days, all versions), fetched Oct 27, 2026.
- Versions and publish times: crates.io API, /crates/tree-sitter/versions, same fetch.
- Reverse dependencies: crates.io reverse dependencies, same fetch. Dependency edges between tracked crates: each crate's default version, crates.io API.
- Fetched politely (one request every 2 seconds, identified User-Agent) per the crates.io data access policy. Data is crates.io's; the release-window split, baseline and verdict rules are ours, CC BY 4.0.
Up next
Next in external ffi bindings: Back to the top in External FFI bindings by real downloads: 4,964,021 a day, 17,338 dependents. Foundational and steady.libcRust crate. Raw FFI bindings to platform libraries like libc. Real use: 5M downloads a day on quiet days; 17,338 crates depend on it.Read it next →Also worth your time
Art: Nicholas Roerich, Nag Lake (1925). Public domain, via Wikimedia Commons.
