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

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