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

#208 in Text processing

Download history 24288/week @ 2024-02-15 25168/week @ 2024-02-22 22666/week @ 2024-02-29 24021/week @ 2024-03-07 25479/week @ 2024-03-14 25428/week @ 2024-03-21 23147/week @ 2024-03-28 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 19308/week @ 2024-05-30

96,416 downloads per month
Used in 222 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