[package]
edition = "2024"
rust-version = "1.88"
name = "mf2-macros"
version = "2.0.0"
authors = ["Evan Carroll"]
build = false
exclude = ["package.txt"]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The tr! proc-macro: a call site checked against the manifest at compile time and lowered to a positional description of the message."
homepage = "https://evancarroll.github.io/rust-mf2/"
documentation = "https://docs.rs/mf2-macros"
readme = "README.md"
keywords = [
"messageformat",
"mf2",
"i18n",
"macro",
"leptos",
]
categories = [
"internationalization",
"localization",
"development-tools::procedural-macro-helpers",
]
license = "MIT"
repository = "https://github.com/EvanCarroll/rust-mf2"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
name = "mf2_macros"
path = "src/lib.rs"
proc-macro = true
[dependencies.mf2-catalog]
version = "=2.0.0"
features = ["manifest"]
[dependencies.proc-macro2]
version = "1.0.107"
[dependencies.quote]
version = "1.0.47"
[dependencies.syn]
version = "3.0.6"
features = ["full"]
[dependencies.thiserror]
version = "2.0.20"
features = ["std"]
default-features = false
[dependencies.unicode-normalization]
version = "0.1.25"
features = ["std"]
default-features = false
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
too_many_lines = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "allow"
unreachable_pub = "warn"
unsafe_code = "deny"