Email me

Crates / Compare / anstyle vs pretty_assertions

Rust crates side by side · data Oct 24, 2026

anstyle vs pretty_assertions

Short answerBy steady daily use, anstyle is bigger: 2,632,269 real downloads a day against 522,294 for pretty_assertions (5.0x). 607 crates depend on anstyle and 5,760 on pretty_assertions. anstyle last shipped 7 months ago, pretty_assertions 2.1 years ago.

anstyle

Established

Established and steady.

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

ANSI text styling

pretty_assertions

Widely used

Widely used and losing ground.

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

Overwrite `assert_eq!` and `assert_ne!` with drop-in replacements, adding colorful diffs.

anstylepretty_assertions · 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 methodanstylepretty_assertions
Real downloads a day2,632,269522,294
Crates that depend on it6075,760
Last release1.0.14, 7 months ago1.4.1, 2.1 years ago
Trend vs the field-8%-12%
Release-window share0.0%0.0%
Downloads in the window225,706,67243,586,596
All-time downloads845,290,424226,411,503
Versions published3126
LicenseMIT OR Apache-2.0MIT OR Apache-2.0
MSRV1.66.0not set
First publishedMay 18, 2022Mar 26, 2017

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 (pretty_assertions, 5,760 dependents): more eyes, more answered questions, and you may already have it in your tree.
  • Check the release dates against your own pace: anstyle 7 months ago, pretty_assertions 2.1 years 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.

Up next

Another comparison: Same method, same window. Foundational and steady vs widely used and steady.reqwest vs ureqRead 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