[package]
edition = "2024"
name = "i18n-string"
version = "2.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight and flexible Rust library for handling internationalization strings with template support."
readme = "README.md"
keywords = [
"i18n",
"internationalization",
"localization",
"template",
]
categories = [
"internationalization",
"localization",
]
license = "MIT"
repository = "https://github.com/Kr328/i18n-string-rs"
[features]
default = ["std"]
serde = [
"dep:serde",
"compact_str/serde",
]
std = []
[lib]
name = "i18n_string"
path = "src/lib.rs"
[dependencies.compact_str]
version = "0.9"
default-features = false
[dependencies.serde]
version = "1.0"
features = ["alloc"]
optional = true
default-features = false
[profile.release]
opt-level = 3
lto = true
debug-assertions = false