| Crates.io | yitizi |
| lib.rs | yitizi |
| version | 0.1.0 |
| created_at | 2024-05-16 22:42:00.593477+00 |
| updated_at | 2024-05-16 22:42:00.593477+00 |
| description | 異體字查詢 Get variant Chinese characters |
| homepage | |
| repository | https://github.com/edward-martyr/yitizi-rs |
| max_upload_size | |
| id | 1242535 |
| size | 165,910 |
Based on the Python/JS version of nk2028/yitizi; check it to learn the design choices.
This is a Rust version of the yitizi tool, building the json file with the cargo build script.
Get all variants (yitizi, 異體字) of a Chinese character (Sinograph)!
cargo add yitizi # for the library
cargo install yitizi # for the CLI
println!("{:?}", yitizi::get('你'));
異體字 yitizi-rs v0.1.0
查詢異體字!輸入 q 退出。(Query for variant Chinese characters! Input q to quit.)
>>> 你我他
'你': {'妳', '奶', '嬭', '伱'}, '我': {}, '他': {'她', '牠', '佗', '它'},