Email me

Best of / Rust crates / error handling

Best of · ranked by real use · data Oct 24, 2026

Best Rust crates for error handling

Short answerBy real use, the top Rust crates for error handling are thiserror (5M a day), anyhow (2.9M a day), displaydoc (2.5M a day). thiserror is our default pick: 5,048,791 real downloads a day and 75,923 dependents. 3 of these 5 shipped in the last 90 days.

Our picks

  • Default pick: thiserror. The most used that still ships releases, so the most answered questions and the likeliest to already be in your tree.
  • Most recently released: eyre (2 months ago).

The ranking

#CrateReal downloads a dayDependentsTrend vs fieldLast releaseWhat it is (its own description)
1thiserror Foundational5,048,79175,923+1%31dderive(Error)
2anyhow Foundational2,875,63852,113-4%3moFlexible concrete Error type built on std::error::Error
3displaydoc Established2,547,279270+0%3moA derive macro for implementing the display Trait via a doc comment and string interpolation
4eyre Widely used286,3951,678-7%2moFlexible concrete Error Reporting type built on std::error::Error with customizable Reports
5snafu Established263,488998+8%3moAn ergonomic error handling library

Rules

Candidates: crates whose own README says they do this job, picked by hand (anyhow, thiserror, eyre, color-eyre, snafu, miette, displaydoc, failure, error-chain); one appears when we have 80+ days of crates.io data for it. Ranked by real downloads a day (quiet-day median, release-day spikes removed), crates.io data Oct 24, 2026. The default pick is the top crate that shipped a release in the last 2 years. Downloads measure use, not quality, and crates that other libraries pull in rank above tools you add yourself: read each description for fit.

Up next

Another best-of list: Same rules, same data.Best Rust crates for logging and tracingRead it next →

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ