inflector/string/mod.rs
1#![deny(warnings)]
2/// Provides demodulize a string.
3///
4/// Example string `Foo::Bar` becomes `Bar`
5#[cfg(feature = "heavyweight")]
6pub mod demodulize;
7/// Provides deconstantizea string.
8///
9/// Example string `Foo::Bar` becomes `Foo`
10#[cfg(feature = "heavyweight")]
11pub mod deconstantize;
12/// Provides conversion to plural strings.
13///
14/// Example string `FooBar` -> `FooBars`
15#[cfg(feature = "heavyweight")]
16pub mod pluralize;
17/// Provides conversion to singular strings.
18///
19/// Example string `FooBars` -> `FooBar`
20#[cfg(feature = "heavyweight")]
21pub mod singularize;
22
23mod constants;