| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| benches/ | 04-Jul-2025 | - | 171 | 153 | ||
| examples/ | 04-Jul-2025 | - | 24 | 16 | ||
| src/ | 04-Jul-2025 | - | 4,865 | 2,709 | ||
| tests/ | 04-Jul-2025 | - | 610 | 512 | ||
| .android-checksum.json | D | 04-Jul-2025 | 2.5 KiB | 1 | 1 | |
| .cargo-checksum.json | D | 04-Jul-2025 | 2.1 KiB | 1 | 1 | |
| Android.bp | D | 04-Jul-2025 | 1.4 KiB | 53 | 49 | |
| Cargo.lock | D | 04-Jul-2025 | 21.8 KiB | 881 | 787 | |
| Cargo.toml | D | 04-Jul-2025 | 3.2 KiB | 162 | 139 | |
| LICENSE | D | 04-Jul-2025 | 2.1 KiB | 47 | 36 | |
| METADATA | D | 04-Jul-2025 | 413 | 18 | 17 | |
| MODULE_LICENSE_UNICODE_3 | D | 04-Jul-2025 | 0 | |||
| README.md | D | 04-Jul-2025 | 963 | 35 | 23 | |
| cargo_embargo.json | D | 04-Jul-2025 | 304 | 15 | 15 | |
| icu4x_bionic_dep.bp.fragment | D | 04-Jul-2025 | 61 | 5 | 5 |
README.md
1# icu_casemap [](https://crates.io/crates/icu_casemap) 2 3<!-- cargo-rdme start --> 4 5Case mapping for Unicode characters and strings. 6 7This module is published as its own crate ([`icu_casemap`](https://docs.rs/icu_casemap/latest/icu_casemap/)) 8and as part of the [`icu`](https://docs.rs/icu/latest/icu/) crate. See the latter for more details on the ICU4X project. 9 10## Examples 11 12```rust 13use icu::casemap::CaseMapper; 14use icu::locale::langid; 15 16let cm = CaseMapper::new(); 17 18assert_eq!( 19 cm.uppercase_to_string("hello world", &langid!("und")), 20 "HELLO WORLD" 21); 22assert_eq!( 23 cm.lowercase_to_string("Γειά σου Κόσμε", &langid!("und")), 24 "γειά σου κόσμε" 25); 26``` 27 28[`ICU4X`]: ../icu/index.html 29 30<!-- cargo-rdme end --> 31 32## More Information 33 34For more information on development, authorship, contributing etc. please visit [`ICU4X home page`](https://github.com/unicode-org/icu4x). 35