Decision Workspace
ruby_inflector vs Inflector vs cruet
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 | Inflector | cruet | |
|---|---|---|---|
| Health Score | 53 | 54 | 54 |
| Total Downloads | 141.8K | 86.6M | 2.0M |
| 30d Downloads | 20.6K | 4.4M | 70.5K |
| Dependents | 102 | 7.5K | 436 |
| Releases | 6 | 27 | 8 |
| Last Updated | 1007d ago | 2623d ago | 380d ago |
| Age | 2y 9m | 10y 5m | 3y 6m |
Health Breakdown
Technical Details
| ruby_inflector | Inflector | cruet | |
|---|---|---|---|
| Version | 0.0.10 | 0.11.4 | 0.15.0 |
| 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 | 2021 | — | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •Inflector leads with a health score of 54/100, but none of the options score above 80.
- •Inflector is depended on by 7.5K crates — strongest ecosystem trust.
- •⚠ ruby_inflector, Inflector, cruet have not been updated in over a year.