[package]
edition = "2021"
rust-version = "1.85.0"
name = "ox_mf2_parser"
version = "0.1.4"
build = false
include = [
"Cargo.toml",
"README.md",
"LICENSE",
"src/*.rs",
"src/error/**/*.rs",
"src/snapshot/**/*.rs",
"tests/**/*.rs",
"fixtures/**/*.mf2",
"fixtures/**/*.meta",
"fixtures/**/*.snap",
"fixtures/**/*.bin",
"fixtures/**/*.txt",
"fixtures/**/*.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High Performance MessageFormat 2 parser core with CST, diagnostics, recovery, semantic lowering, and binary snapshot support."
documentation = "https://docs.rs/ox_mf2_parser"
readme = "README.md"
keywords = [
"intlify",
"messageformat",
"mf2",
"parser",
"i18n",
]
categories = [
"parser-implementations",
"internationalization",
]
license = "MIT"
repository = "https://github.com/intlify/intlify"
[features]
default = []
[lib]
name = "ox_mf2_parser"
path = "src/lib.rs"
[[test]]
name = "api_smoke"
path = "tests/api_smoke.rs"
[[test]]
name = "batch_parse"
path = "tests/batch_parse.rs"
[[test]]
name = "error_codes"
path = "tests/error_codes.rs"
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
[[test]]
name = "parser_grammar"
path = "tests/parser_grammar.rs"
[[test]]
name = "parser_recovery"
path = "tests/parser_recovery.rs"
[[test]]
name = "performance_guards"
path = "tests/performance_guards.rs"
[[test]]
name = "semantic_lowering"
path = "tests/semantic_lowering.rs"
[[test]]
name = "snapshot_compat"
path = "tests/snapshot_compat.rs"
[[test]]
name = "snapshot_fixtures"
path = "tests/snapshot_fixtures.rs"
[[test]]
name = "snapshot_invalid"
path = "tests/snapshot_invalid.rs"
[[test]]
name = "snapshot_round_trip"
path = "tests/snapshot_round_trip.rs"
[dependencies.memchr]
version = "2.7"
[dev-dependencies]
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
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.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"