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

#313 in Text processing

Download history 218989/week @ 2025-10-24 213652/week @ 2025-10-31 216044/week @ 2025-11-07 239190/week @ 2025-11-14 131439/week @ 2025-11-21 135310/week @ 2025-11-28 326532/week @ 2025-12-05 310557/week @ 2025-12-12 135431/week @ 2025-12-19 71462/week @ 2025-12-26 235265/week @ 2026-01-02 376637/week @ 2026-01-09 454317/week @ 2026-01-16 415747/week @ 2026-01-23 408709/week @ 2026-01-30 348230/week @ 2026-02-06

1,700,114 downloads per month
Used in 484 crates (40 directly)

MIT license

28KB
281 lines

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

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

No runtime deps