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
219,614 downloads per month
Used in 316 crates
(via rustybuzz)
18KB
506 lines
unicode-ccc
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.