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

#236 in Text processing

Download history 59852/week @ 2024-09-26 63451/week @ 2024-10-03 55696/week @ 2024-10-10 60509/week @ 2024-10-17 54048/week @ 2024-10-24 59410/week @ 2024-10-31 50007/week @ 2024-11-07 47954/week @ 2024-11-14 48129/week @ 2024-11-21 55802/week @ 2024-11-28 54527/week @ 2024-12-05 54290/week @ 2024-12-12 43587/week @ 2024-12-19 39248/week @ 2024-12-26 56806/week @ 2025-01-02 59878/week @ 2025-01-09

208,332 downloads per month
Used in 469 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