Decision Workspace
anstyle-ansi-term vs ansi-str vs anstyle
Side-by-side comparison of Rust crates
65
anstyle-ansi-term
stablev1.0.5
Adapt between ansi_term and anstyle
52
ansi-str
growingv0.9.0
A library which provides a set of methods to work with ANSI strings
79
anstyle
stablev1.0.14
ANSI text styling
Core Metrics
| anstyle-ansi-term | ansi-str | anstyle | |
|---|---|---|---|
| Health Score | 65 | 52 | 79 |
| Total Downloads | 9.6K | 3.6M | 407.5M |
| 30d Downloads | 26 | 630.5K | 37.1M |
| Dependents | 0 | 207 | 4.8K |
| Releases | 9 | 13 | 31 |
| Last Updated | 14d ago | 421d ago | 14d ago |
| Age | 3y 7m | 4y 1m | 3y 10m |
Health Breakdown
anstyle-ansi-term
Maintenance
18
Quality
20
Community
10
Popularity
5
Documentation
12
ansi-str
Maintenance
7
Quality
12
Community
12
Popularity
8
Documentation
13
anstyle
Maintenance
18
Quality
22
Community
19
Popularity
8
Documentation
12
Technical Details
| anstyle-ansi-term | ansi-str | anstyle | |
|---|---|---|---|
| Version | 1.0.5 | 0.9.0 | 1.0.14 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 1 | 2 |
| Crate Size | 8KB | 19KB | 18KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 7.7% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.66.0 | — | 1.66.0 |
| Owners | 2 (team) | 1 | 2 (team) |
Links
Quick Verdict
- •anstyle leads with a health score of 79/100, but none of the options score above 80.
- •anstyle is depended on by 4.8K crates — strongest ecosystem trust.
- •⚠ ansi-str has not been updated in over a year.
- •ansi-str is pre-1.0 — API may change.