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/// Provides conversion to articlized strings.
23///
24/// Example string `user` -> `a user`
25#[cfg(feature = "heavyweight")]
26pub mod articlize;
27/// Provides conversion to dearticlized strings.
28///
29/// Example string `a cat` -> `cat`
30#[cfg(feature = "heavyweight")]
31pub mod dearticlize;
32mod constants;