Thanks to visit codestin.com
Credit goes to lib.rs

12 stable releases

2.2.0 Apr 1, 2026
2.1.1 Oct 28, 2025
2.0.0 May 7, 2025
2.0.0-beta2 Feb 26, 2025
1.4.0 Nov 16, 2023

#165 in Internationalization (i18n)

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

304,919 downloads per month
Used in 226 crates (18 directly)

Unicode-3.0

1.5MB
25K SLoC

icu_casemap crates.io

Case mapping for Unicode characters and strings.

This module is published as its own crate (icu_casemap) and as part of the icu crate. See the latter for more details on the ICU4X project.

Examples

use icu::casemap::CaseMapper;
use icu::locale::langid;

let cm = CaseMapper::new();

assert_eq!(
    cm.uppercase_to_string("hello world", &langid!("und")),
    "HELLO WORLD"
);
assert_eq!(
    cm.lowercase_to_string("Γειά σου Κόσμε", &langid!("und")),
    "γειά σου κόσμε"
);

More Information

For more information on development, authorship, contributing etc. please visit ICU4X home page.

Dependencies

~0.6–1.4MB
~27K SLoC