Email me

Crates / Compare / thiserror vs snafu

Rust crates side by side · data Oct 24, 2026

thiserror vs snafu

Short answerthiserror is minimal and the most common; snafu is more structured. By steady daily use, thiserror is bigger: 5,048,791 real downloads a day against 263,488 for snafu (19.2x). 75,923 crates depend on thiserror and 998 on snafu. thiserror last shipped 31 days ago, snafu 3 months ago.

thiserror

Foundational

Foundational and steady.

75,923 crates depend on it; downloads don't spike on releases.

derive(Error)

snafu

Established

Established and steady.

998 crates depend on it; no release in the last 90 days, so its count is all steady use.

An ergonomic error handling library

50%100%150%200%Aug 1Sep 1Oct 1

thiserrorsnafu · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic

Every number, side by side

Same window, same methodthiserrorsnafu
Real downloads a day5,048,791263,488
Crates that depend on it75,923998
Last release2.0.21, 31 days ago0.9.2, 3 months ago
Trend vs the field+2%+10%
Release-window share3.8%0.0%
Downloads in the window456,070,99623,693,267
All-time downloads1,690,852,060121,723,554
Versions published9254
LicenseMIT OR Apache-2.0MIT OR Apache-2.0
MSRV1.771.65
First publishedOct 9, 2019Jan 28, 2019

Which to pick

  • Pick thiserror if you want the smallest derive for an error enum with Display and From.
  • Pick snafu if you want context selectors and backtraces built in, so every error site attaches context.
  • Bottom line: thiserror is minimal and the most common; snafu is more structured. (checked against each project's docs, Oct 24, 2026)
  • 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 (thiserror, 75,923 dependents): more eyes, more answered questions, and you may already have it in your tree.
  • Check the release dates against your own pace: thiserror 31 days ago, snafu 3 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 23, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study. People search for this pair: Google suggests "thiserror vs snafu".

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.

Up next

Another comparison: Same method, same window. Foundational and steady vs foundational and steady.anyhow vs thiserrorRead it next →

Also worth your time

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