unicode-categories
unicode-categories copied to clipboard
Get unicode category
Hi,
I would like to use this crate, but I need a function that returns the category from the crate.
For example:
let c = 'A';
assert_eq!(c.category(), "Lu");
Would this be something that could be implemented in this crate?
For the moment, I will look into this crate; https://github.com/open-i18n/rust-unic
I’ve implemented this in finl_unicode, which I just released on crates.io. It supports the latest Unicode standard and is 10–20 times faster than unicode-categories.