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)
120,804 downloads per month
Used in 111 crates
(11 directly)
1.5MB
27K
SLoC
icu_casemap 
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