Email me

Crates / yansi / Alternatives

Rust crate alternatives · data Oct 24, 2026

Alternatives to yansi

Short answerThe closest alternatives to yansi on crates.io data are anstyle (2.6M real downloads a day), anstream (2.5M real downloads a day), anstyle-parse (2.4M real downloads a day). Of the 8 we list, the most used is anstyle, and 6 shipped a release in the last year. yansi itself gets 737,990 a day with 312 dependents.

Every alternative we found

AlternativeReal downloads a dayvs yansiDependentsLast releaseWhy it is listed
anstyle Established2,632,2693.57x6077mocategory Command-line interface, keyword "ansi", keyword "color"side by side
anstream Established2,459,8293.33x4288mocategory Command-line interface, keyword "ansi", keyword "color"side by side
anstyle-parse Pulled in2,444,2593.31x278mocategory Command-line interface, keyword "ansi", keyword "color"compare
colorchoice Pulled in2,364,4723.20x147mocategory Command-line interface, keyword "ansi", keyword "color"compare
anstyle-query Pulled in2,326,3263.15x2611mocategory Command-line interface, keyword "ansi", keyword "color"compare
anstyle-wincon Pulled in1,260,1421.71x311mocategory Command-line interface, keyword "ansi", keyword "color"compare
anes Pulled in667,1970.90x416mocategory Command-line interface, keyword "ansi", keyword "terminal"compare
crossterm Widely used583,3880.79x8,32019mocategory Command-line interface, keyword "color", keyword "terminal"compare

How to choose

  • Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with yansi; read its description before you swap.
  • More dependents means more answered questions and a smaller chance it disappears.
  • Check the last release against how fast you need fixes. For yansi: is it still maintained?

Rules

Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with yansi, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.

Up next

The closest alternative: Established and steady. 2,632,269 real downloads a day.anstyleRust crate. ANSI text styling. Real use: 2.6M downloads a day on quiet days; 607 crates depend on it.Read 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