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

#126 in Text processing

Download history 50011/week @ 2024-07-17 49550/week @ 2024-07-24 42961/week @ 2024-07-31 49316/week @ 2024-08-07 45716/week @ 2024-08-14 47040/week @ 2024-08-21 49493/week @ 2024-08-28 55071/week @ 2024-09-04 48292/week @ 2024-09-11 53839/week @ 2024-09-18 58003/week @ 2024-09-25 62806/week @ 2024-10-02 55914/week @ 2024-10-09 60856/week @ 2024-10-16 55370/week @ 2024-10-23 58571/week @ 2024-10-30

242,227 downloads per month
Used in 304 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