Decision Workspace
titlecase vs capitalize vs humanize-string
Side-by-side comparison of Rust crates
63
titlecase
growingv3.6.0
Capitalize text according to a style defined by John Gruber for Daring Fireball.
47
capitalize
growingv0.3.4
Change first character to upper case and the rest to lower case, and other common alternatives
44
humanize-string
experimentalv0.1.0
Convert a camelCase / snake_case / dash-case string into a human-readable one (fooBar -> Foo bar). A faithful port of the humanize-string npm package.
Core Metrics
| titlecase | capitalize | humanize-string | |
|---|---|---|---|
| Health Score | 63 | 47 | 44 |
| Total Downloads | 3.0M | 178.8K | 24 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 703 | 71 | 0 |
| Releases | 15 | 7 | 1 |
| Last Updated | 491d ago | 901d ago | 108d ago |
| Age | 9y 3m | 4y 7m | 3m |
Health Breakdown
titlecase
Maintenance
5
Quality
22
Community
13
Popularity
8
Documentation
15
capitalize
Maintenance
4
Quality
17
Community
10
Popularity
6
Documentation
10
humanize-string
Maintenance
7
Quality
14
Community
6
Popularity
2
Documentation
15
Technical Details
| titlecase | capitalize | humanize-string | |
|---|---|---|---|
| Version | 3.6.0 | 0.3.4 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | Unlicense | MIT OR Apache-2.0 |
| Dependencies | 2 | 2 | 1 |
| Crate Size | 12KB | 5KB | 9KB |
| Features | 3 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70.0 | — | 1.81 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •titlecase leads with a health score of 63/100, but none of the options score above 80.
- •titlecase is depended on by 703 crates — strongest ecosystem trust.
- •⚠ titlecase, capitalize have not been updated in over a year.
- •capitalize, humanize-string are pre-1.0 — API may change.