Decision Workspace
str_inflector vs cruet vs Inflector
Side-by-side comparison of Rust crates
Adds String based inflections for Rust. Snake, kebab, camel, sentence, class, title and table cases as well as ordinalize, deordinalize, demodulize, foreign key, and pluralize/singularize are supported as both traits and pure functions acting on String types.
Adds String based inflections for Rust. Snake, kebab, camel, sentence, class, title and table cases as well as ordinalize, deordinalize, demodulize, foreign key, and pluralize/singularize are supported as both traits and pure functions acting on String types.
Adds String based inflections for Rust. Snake, kebab, camel, sentence, class, title and table cases as well as ordinalize, deordinalize, demodulize, foreign key, and pluralize/singularize are supported as both traits and pure functions acting on String types.
Core Metrics
| str_inflector | cruet | Inflector | |
|---|---|---|---|
| Health Score | 49 | 67 | 54 |
| Total Downloads | 1.3M | 2.4M | 94.0M |
| 30d Downloads | 97.6K | 343.8K | 3.9M |
| Dependents | 52 | 463 | 7.6K |
| Releases | 1 | 9 | 27 |
| Last Updated | 1576d ago | 53d ago | 2682d ago |
| Age | 4y 3m | 3y 8m | 10y 7m |
Health Breakdown
Technical Details
| str_inflector | cruet | Inflector | |
|---|---|---|---|
| Version | 0.12.0 | 1.0.0 | 0.11.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | BSD-2-Clause | BSD-2-Clause | BSD-2-Clause |
| Dependencies | 2 | 1 | 2 |
| Crate Size | 17KB | 17KB | 17KB |
| Features | 3 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 3.7% |
| Edition | — | 2024 | — |
| MSRV | — | 1.89 | — |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •cruet leads with a health score of 67/100, but none of the options score above 80.
- •Inflector has the most downloads (94.0M), suggesting wider adoption.
- •Inflector is depended on by 7.6K crates — strongest ecosystem trust.
- •⚠ str_inflector, Inflector have not been updated in over a year.
- •str_inflector, Inflector are pre-1.0 — API may change.