[package]
name = "fluent-static"
version = "0.5.2"
description = "Automatically generate Rust functions from Fluent message files for streamlined localization in Rust applications."
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
categories.workspace = true
keywords.workspace = true
include = ["/src", "README.md", "CHANGELOG.md"]
[lib]
path = "src/lib.rs"
[dependencies]
intl_pluralrules = { workspace = true }
once_cell = { workspace = true }
unic-langid = { workspace = true }
accept-language = { workspace = true, optional = true }
axum-core = { version = "0.5", optional = true }
axum-extra = { version = "0.12", optional = true, features = ["cookie"] }
http = { version = "1.4", optional = true }
maud = { version = "0.27", optional = true }
thiserror = { workspace = true }
fluent-static-formatter = { workspace = true, optional = true }
fluent-static-function = { workspace = true }
fluent-static-macros = { workspace = true }
fluent-static-value = { workspace = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
[features]
default = []
icu = ["dep:fluent-static-formatter"]
axum = ["dep:axum-core", "dep:http", "dep:axum-extra", "dep:accept-language"]
maud = ["dep:maud"]