yitizi 0.1.0

異體字查詢 Get variant Chinese characters
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 165.91 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 265.34 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 19s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • yuanhao-chen-nyoeghau/yitizi-rs
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • edward-martyr

異體字 yitizi-rs

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)!

Installation

cargo add yitizi      # for the library
cargo install yitizi  # for the CLI

Usage

Library

println!("{:?}", yitizi::get(''));

CLI

異體字 yitizi-rs v0.1.0
查詢異體字!輸入 q 退出。(Query for variant Chinese characters! Input q to quit.)
>>> 你我他
'': {'', '', '', ''}, '': {}, '': {'', '', '', ''},