Decision Workspace
json-color vs colored_json vs termcolor-json
Side-by-side comparison of Rust crates
45
json-color
growingv0.7.1
Colorize JSON strings
59
colored_json
growingv5.0.0
Colorize JSON, for printing it out on the command line
50
termcolor-json
growingv1.0.0
A library for writing colored JSON output to a termcolor terminal.
Core Metrics
| json-color | colored_json | termcolor-json | |
|---|---|---|---|
| Health Score | 45 | 59 | 50 |
| Total Downloads | 41.8K | 2.2M | 12.0K |
| 30d Downloads | 2.8K | 221.6K | 0 |
| Dependents | 39 | 1.1K | 8 |
| Releases | 10 | 21 | 6 |
| Last Updated | 2656d ago | 780d ago | 1606d ago |
| Age | 9y 4m | 7y 6m | 4y 9m |
Health Breakdown
json-color
Maintenance
5
Quality
15
Community
7
Popularity
6
Documentation
12
colored_json
Maintenance
4
Quality
18
Community
16
Popularity
8
Documentation
13
termcolor-json
Maintenance
4
Quality
20
Community
9
Popularity
5
Documentation
12
Technical Details
| json-color | colored_json | termcolor-json | |
|---|---|---|---|
| Version | 0.7.1 | 5.0.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | EPL-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 3 |
| Crate Size | 3KB | 12KB | 5KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 4.8% | 0.0% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | — | 1.70.0 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •colored_json leads with a health score of 59/100, but none of the options score above 80.
- •colored_json is depended on by 1.1K crates — strongest ecosystem trust.
- •⚠ json-color, colored_json, termcolor-json have not been updated in over a year.
- •json-color is pre-1.0 — API may change.