| Crates.io | ib-pinyin |
| lib.rs | ib-pinyin |
| version | 0.3.1 |
| created_at | 2023-12-16 17:20:32.738569+00 |
| updated_at | 2025-08-21 12:45:03.443318+00 |
| description | 一个高性能拼音查询、匹配库 |
| homepage | https://github.com/Chaoses-Ib/ib-matcher |
| repository | https://github.com/Chaoses-Ib/ib-matcher |
| max_upload_size | |
| id | 1071880 |
| size | 36,503 |
一个高性能 Rust 拼音查询、匹配库。
支持 C、AHK2。
use ib_pinyin::{matcher::PinyinMatcher, pinyin::PinyinNotation};
let matcher = PinyinMatcher::builder("pysousuoeve")
.pinyin_notations(PinyinNotation::Ascii | PinyinNotation::AsciiFirstLetter)
.build();
assert!(matcher.is_match("拼音搜索Everything"));
cargo hack test --feature-powerset