https://github.com/razrfalcon/unicode-ccc
Unicode Canonical Combining Class detection
https://github.com/razrfalcon/unicode-ccc
Last synced: 4 months ago
JSON representation
Unicode Canonical Combining Class detection
- Host: GitHub
- URL: https://github.com/razrfalcon/unicode-ccc
- Owner: RazrFalcon
- License: apache-2.0
- Created: 2020-02-03T19:37:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T05:38:07.000Z (10 months ago)
- Last Synced: 2025-02-27T05:51:28.187Z (5 months ago)
- Language: Rust
- Homepage:
- Size: 18.6 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
## unicode-ccc
[](https://crates.io/crates/unicode-ccc)
[](https://docs.rs/unicode-ccc)This library implements
[Unicode Canonical Combining Class](https://unicode.org/reports/tr44/#Canonical_Combining_Class_Values) detection.```rust
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](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license
([LICENSE-MIT](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.