5 unstable releases

0.3.0 Jun 17, 2024
0.2.0 Feb 7, 2024
0.1.2 Jun 7, 2021
0.1.1 Feb 15, 2021
0.1.0 Jul 17, 2020

#185 in Text processing

Download history 20877/week @ 2024-04-04 22097/week @ 2024-04-11 23018/week @ 2024-04-18 25184/week @ 2024-04-25 27246/week @ 2024-05-02 25950/week @ 2024-05-09 24317/week @ 2024-05-16 22308/week @ 2024-05-23 22622/week @ 2024-05-30 31134/week @ 2024-06-06 43674/week @ 2024-06-13 39939/week @ 2024-06-20 43307/week @ 2024-06-27 41198/week @ 2024-07-04 52537/week @ 2024-07-11 41957/week @ 2024-07-18

185,879 downloads per month
Used in 231 crates (via rustybuzz)

MIT/Apache

18KB
499 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