Cargo Features

i18n-embed = { version = "0.14.1", default-features = false, features = ["gettext-system", "fluent-system", "desktop-requester", "web-sys-requester", "filesystem-assets", "rust-embed"] }
default = rust-embed

The rust-embed feature is set by default whenever i18n-embed is added without default-features = false somewhere in the dependency tree.

gettext-system = i18n-embed-impl, parking_lot, tr

Enables gettext, gettext-system of i18n-embed-impl, gettext of tr

Affects i18n-embed::gettext

fluent-system = arc-swap, fluent, fluent-syntax, i18n-embed-impl, parking_lot

Enables fluent-system of i18n-embed-impl

Affects i18n-embed::fluent

desktop-requester = locale_config

Affects requester::DesktopLanguageRequester

web-sys-requester = web-sys

Affects requester::WebLanguageRequester

filesystem-assets = walkdir

Affects assets::FileSystemAssets

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

fluent fluent-system?
arc-swap fluent-system?
fluent-syntax fluent-system?
i18n-embed-impl fluent-system? gettext-system?
locale_config desktop-requester?
parking_lot fluent-system? gettext-system?
rust-embed default
tr gettext-system?
walkdir filesystem-assets?
web-sys web-sys-requester?

With Window and Navigator