Package Usage: cargo: ruby_inflector
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
6 versions
Latest release: about 2 years ago
1 dependent package
11,246 downloads total
View more package details: https://packages.ecosystem.code.gouv.fr/registries/crates.io/packages/ruby_inflector