Cargo Features

[dependencies]
i18n-embed = { version = "0.15.2", default-features = false, features = ["gettext-system", "fluent-system", "desktop-requester", "web-sys-requester", "filesystem-assets", "autoreload", "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

autoreload = notify

Affects assets::RustEmbedNotifyAssets, assets::NotifyError

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.

fluent fluent-system?
arc-swap fluent-system?
fluent-syntax fluent-system?
i18n-embed-impl fluent-system? gettext-system?
locale_config desktop-requester?
notify autoreload?

Enables notify ^6.1.1

parking_lot fluent-system? gettext-system?
rust-embed default
tr gettext-system?
walkdir filesystem-assets?
web-sys web-sys-requester?