Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/razrfalcon/unicode-ccc
Unicode Canonical Combining Class detection
https://github.com/razrfalcon/unicode-ccc
Last synced: 2 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T05:38:07.000Z (3 months ago)
- Last Synced: 2024-10-16T05:59:35.604Z (2 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
[![Crates.io](https://img.shields.io/crates/v/unicode-ccc.svg)](https://crates.io/crates/unicode-ccc)
[![Documentation](https://docs.rs/unicode-ccc/badge.svg)](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.