[package]
edition = "2024"
rust-version = "1.99"
name = "einvoice-xml"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A streaming (pull) XML 1.0 parser with namespace resolution, zero-copy where it can be, for well-formedness checking and one-pass validation without a tree, in pure Rust"
homepage = "https://einvoice-validator.github.io/"
documentation = "https://docs.rs/einvoice-xml"
readme = "README.md"
keywords = [
"xml",
"parser",
"streaming",
"namespaces",
"einvoice",
]
categories = [
"parser-implementations",
"wasm",
]
license = "MIT"
repository = "https://github.com/einvoice-validator/einvoice-validator"
[lib]
name = "einvoice_xml"
path = "src/lib.rs"
[[example]]
name = "measure"
path = "examples/measure.rs"
[[example]]
name = "saxon-check"
path = "examples/saxon-check.rs"
[[example]]
name = "wasm-smoke"
path = "examples/wasm-smoke.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "roxmltree"
path = "tests/roxmltree.rs"
[dependencies.memchr]
version = "2.8.3"
[dev-dependencies.peak_alloc]
version = "0.3.0"
[dev-dependencies.roxmltree]
version = "0.21.2"
[dev-dependencies.sha2]
version = "0.11.1"
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.proptest]
version = "1.12.0"
features = ["std"]
default-features = false
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
dbg_macro = "deny"
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_debug_implementations = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"
warnings = "deny"