Crates / Compare / rusqlite vs rocksdb
Rust crates side by side · data Oct 27, 2026
rusqlite vs rocksdb
Short answerBy steady daily use, rusqlite is bigger: 505,001 real downloads a day against 88,738 for rocksdb (5.7x). 5,597 crates depend on rusqlite and 373 on rocksdb. rusqlite last shipped 3 months ago, rocksdb 2 months ago.
rusqlite
Widely usedWidely used and gaining.
5,597 crates depend on it; downloads don't spike on releases.
Ergonomic wrapper for SQLite
rocksdb
EstablishedEstablished and losing ground.
373 crates depend on it; downloads don't spike on releases.
Rust wrapper for Facebook's RocksDB embeddable database
rusqliterocksdb · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic
How they relate
- Often used together: 1 tracked crate depend on both (bdk). They are not always either/or.
Every number, side by side
| Same window, same method | rusqlite | rocksdb |
|---|---|---|
| Real downloads a day | 505,001 | 88,738 |
| Crates that depend on it | 5,597 | 373 |
| Last release | 0.40.2, 3 months ago | 0.25.0, 2 months ago |
| Trend vs the field | +29% | -19% |
| Release-window share | 1.2% | 2.1% |
| Downloads in the window | 48,533,558 | 7,340,158 |
| All-time downloads | 133,674,828 | 58,216,135 |
| Versions published | 85 | 58 |
| License | MIT | Apache-2.0 |
| MSRV | not set | 1.88.0 |
| First published | Nov 21, 2014 | Nov 29, 2014 |
Which to pick
- Downloads tell you what is common, not what fits. Each crate's own description above says what it is for; when the jobs differ, pick by the job.
- When both fit, prefer the one more crates depend on (rusqlite, 5,597 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: rusqlite 3 months ago, rocksdb 2 months ago.
Also in this space
Method
Real downloads = the median day with no release that day or the day before, from the crates.io API (Jul 27, 2026 to Oct 26, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study.
Up next
Another comparison: Same method, same window. Widely used and gaining vs widely used and gaining.sqlx vs rusqliteRead it next →Also worth your time
Art: Nicholas Roerich, Nag Lake (1925). Public domain, via Wikimedia Commons.
