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 whenever wana_kana is added without default-features = false somewhere in the dependency tree.

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?