3 stable releases
Uses old Rust 2015
1.1.1 | Sep 14, 2017 |
---|---|
1.1.0 | Jun 5, 2017 |
1.0.0 | Mar 25, 2016 |
#301 in Text processing
254,425 downloads per month
Used in 309 crates
(33 directly)
28KB
281 lines
inflections
A Rust library for transforming one style of string to another focused on high performance.
Read the documentation for more.
Example
use inflections::Inflect;
assert_eq!("Hello World".to_camel_case(), "helloWorld".to_owned());
lib.rs
:
This is a library which allows anyone to change various properties of their strings with a heavy emphasis on performance. Allows programmers to manipulate a single programatic name consistently in multiple contexts.
Example
// Remember to import the `Inflect` trait!
use inflections::Inflect;
assert_eq!("Hello World".to_camel_case(), "helloWorld".to_owned());