i18nrs 0.1.9

🌐 A highly customizable Internationalization (i18n) component for WASM frameworks like Yew, Dioxus, and Leptos.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "i18nrs"
version = "0.1.9"
authors = ["Mahmoud Harmouch <oss@wiseai.dev>"]
build = false
exclude = [
    "assets",
    "examples",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "🌐 A highly customizable Internationalization (i18n) component for WASM frameworks like Yew, Dioxus, and Leptos."
documentation = "https://docs.rs/i18nrs/"
readme = "README.md"
keywords = [
    "i18n",
    "yew",
    "rust",
    "dioxus",
    "leptos",
]
categories = [
    "web-programming",
    "science",
]
license = "MIT"
repository = "https://github.com/opensass/i18n-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
dio = ["dioxus"]
dio-ssr = [
    "dioxus/fullstack",
    "http",
]
server = ["dioxus/server"]
yew = ["dep:yew"]

[lib]
name = "i18nrs"
path = "src/lib.rs"

[dependencies.dioxus]
version = "0.7.3"
optional = true

[dependencies.http]
version = "1.4.0"
optional = true

[dependencies.serde_json]
version = "1.0.149"

[dependencies.web-sys]
version = "0.3.77"
features = [
    "Storage",
    "HtmlDocument",
]

[dependencies.yew]
version = "0.22.0"
optional = true
default-features = false

[dev-dependencies.bump2version]
version = "0.1.4"

[dev-dependencies.log]
version = "0.4.29"

[profile.release]
opt-level = "z"
lto = "thin"
codegen-units = 1
debug = 0
panic = "abort"
incremental = false
strip = "symbols"