Important
Try the optimized version unicode-id-start.
Determine if a char
is a valid identifier for a parser and/or lexer according to
Unicode Standard Annex #31 rules.
This is a clone of unicode-xid.
use unicode_id::UnicodeID;
fn main() {
let ch = 'a';
println!("Is {} a valid start of an identifier? {}", ch, UnicodeID::is_id_start(ch));
}
unicode-id supports a no_std
feature. This eliminates dependence
on std, and instead uses equivalent functions from core.
- Update to Unicode 16.0.0
- Update to Unicode 15.1.0
- Update to Unicode 15.0.0
- Fix clippy warnings
- Fork repo for unicode-id
- Update to Unicode 14.0.0
- Add an ASCII fast-path
- Update to Unicode 13.0.0
- Speed up lookup
- Update to Unicode 12.1.0.
- Initial release.