#case #inflect #camel

inflections

High performance inflection transformation library for changing properties of words like the case

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

#410 in Text processing

Download history 29712/week @ 2023-12-13 23135/week @ 2023-12-20 19951/week @ 2023-12-27 30981/week @ 2024-01-03 30812/week @ 2024-01-10 32628/week @ 2024-01-17 32617/week @ 2024-01-24 28566/week @ 2024-01-31 28656/week @ 2024-02-07 31237/week @ 2024-02-14 33259/week @ 2024-02-21 37216/week @ 2024-02-28 33347/week @ 2024-03-06 33411/week @ 2024-03-13 36781/week @ 2024-03-20 28559/week @ 2024-03-27

139,113 downloads per month
Used in 281 crates (31 directly)

MIT license

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());

No runtime deps