Cargo Features
[dependencies]
wana_kana = { version = "4.0.0", default-features = false, features = ["enable_regex", "tokenize"] }
- default = tokenize
-
The
tokenize
feature is set by default wheneverwana_kana
is added without
somewhere in the dependency tree.default-features = false - enable_regex = regex
-
Affects
is_japanese::is_japanese_with_whitelist
,is_romaji::is_romaji_with_whitelist
,traits::IsJapaneseStr.is_romaji_with_whitelist
,traits::IsJapaneseStr.is_japanese_with_whitelist
… - tokenize default = itertools
-
Affects
wana_kana::tokenize
,wana_kana::trim_okurigana
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- itertools tokenize
-
Enables itertools ^0.10.5
- regex enable_regex?