11 stable releases

2.1.1 Oct 28, 2025
2.0.0 May 7, 2025
2.0.0-beta2 Feb 26, 2025
2.0.0-beta1 Nov 23, 2024
1.4.0 Nov 16, 2023

#341 in Internationalization (i18n)

Download history 32241/week @ 2025-09-25 25151/week @ 2025-10-02 29243/week @ 2025-10-09 31598/week @ 2025-10-16 34830/week @ 2025-10-23 30621/week @ 2025-10-30 38054/week @ 2025-11-06 37855/week @ 2025-11-13 37530/week @ 2025-11-20 32163/week @ 2025-11-27 29850/week @ 2025-12-04 31520/week @ 2025-12-11 27299/week @ 2025-12-18 20573/week @ 2025-12-25 26639/week @ 2026-01-01 40609/week @ 2026-01-08

120,804 downloads per month
Used in 111 crates (11 directly)

Unicode-3.0

1.5MB
27K 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.7–1.5MB
~30K SLoC