[package]
name = "leptos_i18n"
version = { workspace = true }
edition = "2021"
authors = ["Baptiste de Montangon"]
license = "MIT"
repository = "https://github.com/Baptistemontan/leptos_i18n"
description = "Translations integration helper for the Leptos web framework"
readme = "../README.md"
[dependencies]
leptos_i18n_macro = { workspace = true }
leptos = { workspace = true }
leptos_meta = "0.6.14"
leptos_router = "0.6.14"
leptos-use = { version = "0.13", default-features = false, features = [
"use_locales",
"use_cookie",
] }
codee = "0.2"
icu = { version = "1.5", features = ["sync"] }
typed-builder = "0.19"
fixed_decimal = { version = "0.5", features = ["ryu"] }
writeable = "0.5"
serde = "1.0"
wasm-bindgen = "0.2.93"
[features]
default = ["cookie", "json_files"]
actix = ["ssr", "leptos-use/actix"]
axum = ["ssr", "leptos-use/axum"]
hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]
cookie = []
experimental-islands = [
"leptos/experimental-islands",
"leptos_i18n_macro/experimental-islands",
]
nightly = ["leptos/nightly", "leptos_meta/nightly", "leptos_i18n_macro/nightly"]
ssr = ["leptos/ssr", "leptos_meta/ssr", "leptos-use/ssr", "leptos_router/ssr"]
show_keys_only = ["leptos_i18n_macro/show_keys_only"]
suppress_key_warnings = ["leptos_i18n_macro/suppress_key_warnings"]
json_files = ["leptos_i18n_macro/json_files"]
yaml_files = ["leptos_i18n_macro/yaml_files"]
interpolate_display = ["leptos_i18n_macro/interpolate_display"]
track_locale_files = ["leptos_i18n_macro/track_locale_files"]
[package.metadata.cargo-all-features]
denylist = [
"ssr",
"yaml_files",
"nightly",
"serde",
"suppress_key_warnings",
"track_locale_files",
"show_keys_only",
]
skip_feature_sets = [
[
"axum",
"actix",
],
[
"actix",
"hydrate",
],
[
"axum",
"hydrate",
],
[
"axum",
"actix",
],
[
"actix",
"csr",
],
[
"axum",
"csr",
],
[
"hydrate",
"csr",
],
]
always_include_features = ["json_files"]