Crates / Compare / anstyle vs yansi
Rust crates side by side · data Oct 24, 2026
anstyle vs yansi
Short answerBy steady daily use, anstyle is bigger: 2,632,269 real downloads a day against 737,990 for yansi (3.6x). 607 crates depend on anstyle and 312 on yansi. anstyle last shipped 7 months ago, yansi 2.6 years ago.
anstyle
EstablishedEstablished and steady.
607 crates depend on it; no release in the last 90 days, so its count is all steady use.
ANSI text styling
yansi
EstablishedEstablished and quiet for years.
312 crates depend on it; no release in the last 90 days, so its count is all steady use.
A dead simple ANSI terminal color painting library.
anstyleyansi · 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 method | anstyle | yansi |
|---|---|---|
| Real downloads a day | 2,632,269 | 737,990 |
| Crates that depend on it | 607 | 312 |
| Last release | 1.0.14, 7 months ago | 1.0.1, 2.6 years ago |
| Trend vs the field | -8% | -7% |
| Release-window share | 0.0% | 0.0% |
| Downloads in the window | 225,706,672 | 62,709,104 |
| All-time downloads | 845,290,424 | 287,731,195 |
| Versions published | 31 | 17 |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| MSRV | 1.66.0 | 1.63 |
| First published | May 18, 2022 | Jun 2, 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 (anstyle, 607 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, yansi 2.6 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 →Also worth your time