[dependencies.fluent-bundle]
version = "0.15"
[dependencies.fluent-langneg]
version = "0.13"
[dependencies.fluent-syntax]
version = "0.11"
[dependencies.fluent-template-macros]
optional = true
version = "0.12.1"
[dependencies.flume]
default-features = false
optional = true
version = "0.11"
[dependencies.handlebars]
optional = true
version = "6"
[dependencies.heck]
optional = true
version = "0.5"
[dependencies.ignore]
optional = true
version = "0.4"
[dependencies.intl-memoizer]
version = "0.5"
[dependencies.log]
optional = true
version = "0.4"
[dependencies.once_cell]
version = "1.19"
[dependencies.serde_json]
optional = true
version = "1"
[dependencies.tera]
default-features = false
optional = true
version = "1.15"
[dependencies.thiserror]
version = "1"
[dependencies.unic-langid]
features = ["macros", "macros"]
version = "0.9"
[dependencies.walkdir]
optional = true
version = "2"
[dev-dependencies.tempfile]
version = "3.3"
[features]
default = ["macros", "ignore"]
handlebars = ["dep:handlebars", "dep:serde_json"]
ignore = ["dep:ignore", "fluent-template-macros/ignore", "dep:flume", "dep:log"]
macros = ["fluent-template-macros"]
tera = ["dep:tera", "dep:heck", "dep:serde_json"]
walkdir = ["dep:walkdir", "fluent-template-macros/walkdir", "dep:log"]
[lib]
name = "fluent_templates"
path = "src/lib.rs"
[package]
authors = ["XAMPPRocky <xampprocky@icloud.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["internationalization", "localization", "template-engine"]
description = "Templating for the Fluent localization framework"
documentation = "https://docs.rs/fluent-templates/"
edition = "2021"
keywords = ["handlebars", "tera", "fluent", "internationalization", "localization"]
license = "MIT/Apache-2.0"
name = "fluent-templates"
readme = "README.md"
repository = "https://github.com/XAMPPRocky/fluent-templates"
resolver = "2"
rust-version = "1.70.0"
version = "0.12.1"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
[[test]]
name = "multi_loader"
path = "tests/multi_loader.rs"
[[test]]
name = "template"
path = "tests/template.rs"