| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| benches/ | 03-May-2024 | - | 61 | 55 | ||
| patches/ | 03-May-2024 | - | 40 | 37 | ||
| src/ | 03-May-2024 | - | 1,686 | 1,573 | ||
| tests/ | 03-May-2024 | - | 26 | 20 | ||
| .cargo_vcs_info.json | D | 03-May-2024 | 74 | 6 | 5 | |
| .gitignore | D | 03-May-2024 | 30 | 4 | 3 | |
| Android.bp | D | 03-May-2024 | 2.7 KiB | 96 | 90 | |
| COPYRIGHT | D | 03-May-2024 | 321 | 8 | 7 | |
| Cargo.toml | D | 03-May-2024 | 1.3 KiB | 52 | 47 | |
| Cargo.toml.orig | D | 03-May-2024 | 805 | 35 | 29 | |
| LICENSE | D | 03-May-2024 | 10.6 KiB | 202 | 169 | |
| LICENSE-APACHE | D | 03-May-2024 | 10.6 KiB | 202 | 169 | |
| LICENSE-MIT | D | 03-May-2024 | 1 KiB | 26 | 22 | |
| METADATA | D | 03-May-2024 | 434 | 21 | 20 | |
| MODULE_LICENSE_APACHE2 | D | 03-May-2024 | 0 | |||
| OWNERS | D | 03-May-2024 | 40 | 2 | 1 | |
| README.md | D | 03-May-2024 | 1 KiB | 54 | 31 | |
| TEST_MAPPING | D | 03-May-2024 | 593 | 34 | 33 | |
| cargo2android.json | D | 03-May-2024 | 52 | 5 | 5 | 
README.md
1# unicode-xid 2 3Determine if a `char` is a valid identifier for a parser and/or lexer according to 4[Unicode Standard Annex #31](http://www.unicode.org/reports/tr31/) rules. 5 6[](https://github.com/unicode-rs/unicode-xid/actions?query=branch%3Amaster) 7 8[Documentation](https://unicode-rs.github.io/unicode-xid/unicode_xid/index.html) 9 10```rust 11extern crate unicode_xid; 12 13use unicode_xid::UnicodeXID; 14 15fn main() { 16 let ch = 'a'; 17 println!("Is {} a valid start of an identifier? {}", ch, UnicodeXID::is_xid_start(ch)); 18} 19``` 20 21# features 22 23unicode-xid supports a `no_std` feature. This eliminates dependence 24on std, and instead uses equivalent functions from core. 25 26 27# changelog 28 29## 0.2.4 30 31- Update to Unicode 15.0.0 32- Replace `const` tables with `static` tables. 33 34## 0.2.3 35 36- Update to Unicode 14.0.0 37 38## 0.2.2 39 40- Add an ASCII fast-path 41 42## 0.2.1 43 44- Update to Unicode 13.0.0 45- Speed up lookup 46 47## 0.2.0 48 49- Update to Unicode 12.1.0. 50 51## 0.1.0 52 53- Initial release. 54