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

#130 in Text processing

Download history 60856/week @ 2024-10-16 55370/week @ 2024-10-23 58579/week @ 2024-10-30 52103/week @ 2024-11-06 48661/week @ 2024-11-13 46452/week @ 2024-11-20 54670/week @ 2024-11-27 55413/week @ 2024-12-04 54339/week @ 2024-12-11 48139/week @ 2024-12-18 37972/week @ 2024-12-25 51880/week @ 2025-01-01 69786/week @ 2025-01-08 70715/week @ 2025-01-15 69470/week @ 2025-01-22 57776/week @ 2025-01-29

277,945 downloads per month
Used in 494 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