Cargo Features

[dependencies]
leptos_i18n_macro = { version = "0.3.3", default-features = false, features = ["debug_interpolations", "nightly", "suppress_key_warnings", "json_files", "yaml_files", "interpolate_display", "experimental-islands"] }
default = json_files

The json_files feature is set by default whenever leptos_i18n_macro is added without default-features = false somewhere in the dependency tree.

serde debug_interpolations
nightly

Affects warning::generate_warnings

suppress_key_warnings
json_files default = serde_json
yaml_files = serde_yaml
interpolate_display

Affects leptos_i18n_macro::t_string, leptos_i18n_macro::t_display, leptos_i18n_macro::td_string, leptos_i18n_macro::td_display

track_locale_files experimental-islands

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.

serde_json json_files
serde_yaml yaml_files?