Decision Workspace
cruet vs Inflector vs ruby_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. Intended to emulate the behavior of ActiveSupport::Inflector in Ruby as closely as possible. https://api.rubyonrails.org/classes/ActiveSupport/Inflector.html
Core Metrics
| cruet | Inflector | ruby_inflector | |
|---|---|---|---|
| Health Score | 54 | 54 | 53 |
| Total Downloads | 2.0M | 86.6M | 141.8K |
| 30d Downloads | 70.5K | 4.4M | 20.6K |
| Dependents | 436 | 7.5K | 102 |
| Releases | 8 | 27 | 6 |
| Last Updated | 380d ago | 2623d ago | 1007d ago |
| Age | 3y 6m | 10y 5m | 2y 9m |
Health Breakdown
Technical Details
| cruet | Inflector | ruby_inflector | |
|---|---|---|---|
| Version | 0.15.0 | 0.11.4 | 0.0.10 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-2-Clause | BSD-2-Clause | BSD-2-Clause |
| Dependencies | 2 | 2 | 2 |
| Crate Size | 17KB | 17KB | 17KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 3.7% | 0.0% |
| Edition | 2024 | — | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cruet leads with a health score of 54/100, but none of the options score above 80.
- •Inflector has the most downloads (86.6M), suggesting wider adoption.
- •Inflector is depended on by 7.5K crates — strongest ecosystem trust.
- •⚠ cruet, Inflector, ruby_inflector have not been updated in over a year.