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

#233 in Text processing

Download history 42419/week @ 2024-08-02 51266/week @ 2024-08-09 47104/week @ 2024-08-16 46706/week @ 2024-08-23 52272/week @ 2024-08-30 52101/week @ 2024-09-06 47892/week @ 2024-09-13 57492/week @ 2024-09-20 59315/week @ 2024-09-27 61803/week @ 2024-10-04 56609/week @ 2024-10-11 60197/week @ 2024-10-18 53790/week @ 2024-10-25 59570/week @ 2024-11-01 48117/week @ 2024-11-08 48627/week @ 2024-11-15

219,614 downloads per month
Used in 316 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