4 releases

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

#239 in Text processing

Download history 15627/week @ 2023-11-21 17481/week @ 2023-11-28 15896/week @ 2023-12-05 16109/week @ 2023-12-12 13396/week @ 2023-12-19 10250/week @ 2023-12-26 14810/week @ 2024-01-02 16833/week @ 2024-01-09 23529/week @ 2024-01-16 21851/week @ 2024-01-23 22588/week @ 2024-01-30 22232/week @ 2024-02-06 22984/week @ 2024-02-13 26225/week @ 2024-02-20 22512/week @ 2024-02-27 19337/week @ 2024-03-05

94,609 downloads per month
Used in 187 crates (via rustybuzz)

MIT/Apache

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