Decision Workspace
ruby_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. Intended to emulate the behavior of ActiveSupport::Inflector in Ruby as closely as possible. https://api.rubyonrails.org/classes/ActiveSupport/Inflector.html
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
| ruby_inflector | cruet | Inflector | |
|---|---|---|---|
| Health Score | 53 | 63 | 54 |
| Total Downloads | 222.4K | 3.4M | 118.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 102 | 503 | 8.0K |
| Releases | 6 | 9 | 27 |
| Last Updated | 1203d ago | 190d ago | 2819d ago |
| Age | 3y 3m | 4y | 11y |
Health Breakdown
Technical Details
| ruby_inflector | cruet | Inflector | |
|---|---|---|---|
| Version | 0.0.10 | 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 | 0 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 3.7% |
| Edition | 2021 | 2024 | — |
| MSRV | — | 1.89 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cruet leads with a health score of 63/100, but none of the options score above 80.
- •Inflector has the most downloads (118.9M), suggesting wider adoption.
- •Inflector is depended on by 8.0K crates — strongest ecosystem trust.
- •⚠ ruby_inflector, Inflector have not been updated in over a year.
- •ruby_inflector, Inflector are pre-1.0 — API may change.