Cargo Features
[dependencies]
pinyin = { version = "0.10.0", default-features = false, features = ["compat", "with_tone_num", "with_tone_num_end", "heteronym"] }
- default = compat, heteronym, plain, with_tone, with_tone_num, with_tone_num_end
-
These default features are set whenever
pinyin
is added without
somewhere in the dependency tree.default-features = false - compat default = heteronym, plain, with_tone, with_tone_num
- plain with_tone with_tone_num default compat
- with_tone_num_end default
- heteronym default compat
Pinyin has 5 features without comments.