[package]
name = "mf2-runtime"
authors.workspace = true
repository.workspace = true
homepage.workspace = true
description = "The MessageFormat 2 evaluator of Rust MF2: formats from a .mf2b catalog (no_std, fmt-free, panic-free): resolution, selection, fallback, bidi, parts, markup, the registry and the core functions."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish = true
readme = "README.md"
documentation = "https://docs.rs/mf2-runtime"
keywords = ["messageformat", "mf2", "i18n", "l10n", "formatting"]
categories = ["internationalization", "localization", "value-formatting", "no-std", "wasm"]
exclude = ["package.txt"]
[features]
fixed-decimal = ["dep:fixed_decimal"]
intl = []
[dependencies]
fixed_decimal = { workspace = true, optional = true }
mf2-catalog.workspace = true
mf2-model.workspace = true
thiserror.workspace = true
[dev-dependencies]
mf2-catalog = { workspace = true, features = ["writer", "decode"] }
mf2-syntax.workspace = true
ryu.workspace = true
unicode-normalization = { workspace = true, features = ["std"] }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lints]
workspace = true