[package]
edition = "2024"
name = "fluent4rs"
version = "2.2.2"
authors = ["Nigel Eke"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Parser / codec for [Fluent FTL files](https://github.com/projectfluent/fluent/blob/master/spec/fluent.ebnf), written for [lingora](https://github.com/nigeleke/lingora)
(a localization management program), and may be found to be useful outside of that context.
It is not intended to replace any aspects of the [fluent-rs](https://github.com/projectfluent/fluent-rs)
crate implemented by [Project Fluent](https://projectfluent.org/), and, for the majority of language
translation needs, the reader is referred back to that crate.
"""
homepage = "https://nigeleke.github.io/fluent4rs/"
documentation = "https://docs.rs/fluent4rs"
readme = "README.md"
keywords = [
"fluent",
"parser",
"codec",
"i18n",
"l10n",
]
categories = [
"internationalization",
"localization",
]
license = "MIT"
repository = "https://github.com/nigeleke/fluent4rs"
[features]
default = ["walker"]
hash = []
serde = ["dep:serde"]
trace = ["walker"]
walker = []
[lib]
name = "fluent4rs"
path = "src/lib.rs"
[[test]]
name = "ast_spec"
path = "tests/ast_spec.rs"
required-features = ["walker"]
[[test]]
name = "grammar_spec"
path = "tests/grammar_spec.rs"
[[test]]
name = "resource_spec"
path = "tests/resource_spec.rs"
[dependencies.pom]
version = "3.4"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.pretty_assertions]
version = "1.4"