Decision Workspace
hanzi-sort vs clap-sort vs pinyin
Side-by-side comparison of Rust crates
48
hanzi-sort
experimentalv0.2.1
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
61
pinyin
growingv0.11.0
Convert Chinese to pinyin
Core Metrics
| hanzi-sort | clap-sort | pinyin | |
|---|---|---|---|
| Health Score | 48 | 68 | 61 |
| Total Downloads | 40 | 43.2K | 633.8K |
| 30d Downloads | 0 | 11.5K | 54.0K |
| Dependents | 0 | 205 | 245 |
| Releases | 3 | 8 | 16 |
| Last Updated | 20d ago | 203d ago | 144d ago |
| Age | 2m | 6m | 10y 9m |
Health Breakdown
hanzi-sort
Maintenance
13
Quality
12
Community
6
Popularity
2
Documentation
15
clap-sort
Maintenance
17
Quality
18
Community
12
Popularity
6
Documentation
15
pinyin
Maintenance
10
Quality
18
Community
14
Popularity
7
Documentation
12
Technical Details
| hanzi-sort | clap-sort | pinyin | |
|---|---|---|---|
| Version | 0.2.1 | 1.0.3 | 0.11.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | AGPL-3.0-only | MIT OR Apache-2.0 | MIT |
| Dependencies | 11 | 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 (633.8K), suggesting wider adoption.
- •pinyin is depended on by 245 crates — strongest ecosystem trust.
- •hanzi-sort, pinyin are pre-1.0 — API may change.