• Home
Name Date Size #Lines LOC

..--

benches/04-Jul-2025-171153

examples/04-Jul-2025-2416

src/04-Jul-2025-4,8652,709

tests/04-Jul-2025-610512

.android-checksum.jsonD04-Jul-20252.5 KiB11

.cargo-checksum.jsonD04-Jul-20252.1 KiB11

Android.bpD04-Jul-20251.4 KiB5349

Cargo.lockD04-Jul-202521.8 KiB881787

Cargo.tomlD04-Jul-20253.2 KiB162139

LICENSED04-Jul-20252.1 KiB4736

METADATAD04-Jul-2025413 1817

MODULE_LICENSE_UNICODE_3D04-Jul-20250

README.mdD04-Jul-2025963 3523

cargo_embargo.jsonD04-Jul-2025304 1515

icu4x_bionic_dep.bp.fragmentD04-Jul-202561 55

README.md

1# icu_casemap [![crates.io](https://img.shields.io/crates/v/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