#camel-case #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

#296 in Text processing

Download history 184746/week @ 2024-11-15 139711/week @ 2024-11-22 122184/week @ 2024-11-29 202703/week @ 2024-12-06 188596/week @ 2024-12-13 64757/week @ 2024-12-20 68102/week @ 2024-12-27 183657/week @ 2025-01-03 215006/week @ 2025-01-10 167424/week @ 2025-01-17 182401/week @ 2025-01-24 194614/week @ 2025-01-31 198792/week @ 2025-02-07 186198/week @ 2025-02-14 251325/week @ 2025-02-21 194562/week @ 2025-02-28

870,206 downloads per month
Used in 367 crates (35 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