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

#217 in Text processing

Download history 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 22483/week @ 2024-02-27 23220/week @ 2024-03-05 26663/week @ 2024-03-12 24957/week @ 2024-03-19 23404/week @ 2024-03-26 21379/week @ 2024-04-02 21279/week @ 2024-04-09 22866/week @ 2024-04-16 24607/week @ 2024-04-23 26757/week @ 2024-04-30 22905/week @ 2024-05-07

101,025 downloads per month
Used in 218 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