Decision Workspace
hanzi-sort vs clap-sort vs pinyin
Side-by-side comparison of Rust crates
53
hanzi-sort
experimentalv0.2.3
Sort Chinese text by pinyin or stroke count, with polyphonic overrides and terminal-friendly output
68
clap-sort
growingv1.0.3
Validate that clap Subcommand enums are sorted alphabetically
60
pinyin
growingv0.11.0
Convert Chinese to pinyin
Core Metrics
| hanzi-sort | clap-sort | pinyin | |
|---|---|---|---|
| Health Score | 53 | 68 | 60 |
| Total Downloads | 77 | 57.2K | 764.9K |
| 30d Downloads | 0 | 5.7K | 53.3K |
| Dependents | 0 | 262 | 262 |
| Releases | 5 | 8 | 16 |
| Last Updated | 19d ago | 252d ago | 193d ago |
| Age | 4m | 8m | 10y 10m |
Health Breakdown
hanzi-sort
Maintenance
18
Quality
12
Community
6
Popularity
2
Documentation
15
clap-sort
Maintenance
16
Quality
18
Community
13
Popularity
6
Documentation
15
pinyin
Maintenance
9
Quality
18
Community
14
Popularity
7
Documentation
12
Technical Details
| hanzi-sort | clap-sort | pinyin | |
|---|---|---|---|
| Version | 0.2.3 | 1.0.3 | 0.11.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | AGPL-3.0-only | MIT OR Apache-2.0 | MIT |
| Dependencies | 12 | 2 | 0 |
| Crate Size | 3.8MB | 8KB | 350KB |
| Features | 6 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | 1.85 | 1.88 | — |
| Owners | 1 | 1 | 3 |
Links
Quick Verdict
- •clap-sort leads with a health score of 68/100, but none of the options score above 80.
- •pinyin has the most downloads (764.9K), suggesting wider adoption.
- •clap-sort is depended on by 262 crates — strongest ecosystem trust.
- •hanzi-sort, pinyin are pre-1.0 — API may change.