Cargo Features

[dependencies]
leptos_i18n = { version = "0.3.3", default-features = false, features = ["nightly", "cookie", "hydrate", "ssr", "actix", "axum", "csr", "serde", "debug_interpolations", "suppress_key_warnings", "json_files", "yaml_files", "interpolate_display", "track_locale_files", "experimental-islands"] }
default = cookie, json_files

These default features are set whenever leptos_i18n is added without default-features = false somewhere in the dependency tree.

nightly

Enables nightly of leptos, leptos_i18n_macro, and leptos_meta

Enables wasm-bindgen and web-sys

hydrate

Enables hydrate of leptos and leptos_meta

ssr actix? axum?

Enables ssr of leptos and leptos_meta

actix = ssr

Enables actix-web

Affects server::fetch_locale_server_side

axum = ssr

Enables axum, http, and leptos_axum

Affects server::fetch_locale_server_side

csr

Enables csr of leptos and leptos_meta

serde

Enables serde of leptos_i18n_macro

debug_interpolations

Enables debug_interpolations of leptos_i18n_macro

suppress_key_warnings

Enables suppress_key_warnings of leptos_i18n_macro

json_files default

Enables json_files of leptos_i18n_macro

yaml_files

Enables yaml_files of leptos_i18n_macro

interpolate_display

Enables interpolate_display of leptos_i18n_macro

Affects leptos_i18n::display

track_locale_files

Enables track_locale_files of leptos_i18n_macro

experimental-islands

Enables experimental-islands of leptos and leptos_i18n_macro