#unicode #detect

unicode-ccc

Unicode Canonical Combining Class detection

6 releases (3 breaking)

0.4.0 Sep 26, 2024
0.3.0 Jun 17, 2024
0.2.0 Feb 7, 2024
0.1.2 Jun 7, 2021
0.1.0 Jul 17, 2020

#160 in Text processing

Download history 79902/week @ 2025-02-01 84590/week @ 2025-02-08 69626/week @ 2025-02-15 71490/week @ 2025-02-22 72793/week @ 2025-03-01 75186/week @ 2025-03-08 85209/week @ 2025-03-15 81810/week @ 2025-03-22 75693/week @ 2025-03-29 80382/week @ 2025-04-05 75985/week @ 2025-04-12 82390/week @ 2025-04-19 99292/week @ 2025-04-26 100070/week @ 2025-05-03 95847/week @ 2025-05-10 82880/week @ 2025-05-17

391,300 downloads per month
Used in 633 crates (3 directly)

MIT/Apache

18KB
506 lines

unicode-ccc

Crates.io Documentation

This library implements Unicode Canonical Combining Class detection.

use unicode_ccc::*;

assert_eq!(get_canonical_combining_class('A'), CanonicalCombiningClass::NotReordered);
assert_eq!(get_canonical_combining_class('\u{0A3C}'), CanonicalCombiningClass::Nukta);
assert_eq!(get_canonical_combining_class('\u{18A9}'), CanonicalCombiningClass::AboveLeft);

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps