Cargo Features
[dependencies]
lang-id = { version = "0.0.14", default-features = false, features = ["std", "consts", "compact_str", "map", "sys-locale", "nostd-sys-locale", "match", "serde"] }
- default = match
-
The
match
feature is set by default wheneverlang-id
is added without
somewhere in the dependency tree.default-features = false - std sys-locale?
- consts map? match sys-locale?
-
Affects
lang-id::consts
… - compact_str map? nostd-sys-locale?
-
Enables compact_str
- map = compact_str, consts
-
Enables phf
Affects
lang-id::maps
… - sys-locale = consts, std
-
Enables sys-locale
Affects
lang-id::sys_locale
… - nostd-sys-locale = compact_str
-
Enables libc, widestring, and windows-sys
Affects
lang-id::nostd_sys_locale
… - match default = consts
-
Affects
lang-id::matches
… - serde
-
Enables serde of optional compact_str and unic-langid