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

#131 in Text processing

Download history 47432/week @ 2024-11-17 51064/week @ 2024-11-24 57272/week @ 2024-12-01 54757/week @ 2024-12-08 53960/week @ 2024-12-15 36053/week @ 2024-12-22 44084/week @ 2024-12-29 67459/week @ 2025-01-05 70934/week @ 2025-01-12 69934/week @ 2025-01-19 67131/week @ 2025-01-26 81786/week @ 2025-02-02 84590/week @ 2025-02-09 70137/week @ 2025-02-16 70646/week @ 2025-02-23 65933/week @ 2025-03-02

299,013 downloads per month
Used in 532 crates (via rustybuzz)

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