const-str 0.1.0

compile-time string operations
Documentation
const-str-0.1.0 has been yanked.

const-str

compile-time string operations

Examples

assert_eq!(const_str::to_lowercase!("HELLO"), "hello");

assert_eq!(const_str::to_uppercase!("hello"), "HELLO");

assert_eq!(const_str::replace!("this is old", "old", "new"), "this is new");