einvoice-pdf 0.4.0

Extract the embedded e-invoice XML and its XMP metadata from Factur-X, ZUGFeRD and Order-X PDF/A-3 files, in pure Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.99"
name = "einvoice-pdf"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extract the embedded e-invoice XML and its XMP metadata from Factur-X, ZUGFeRD and Order-X PDF/A-3 files, in pure Rust"
homepage = "https://einvoice-validator.github.io/"
documentation = "https://docs.rs/einvoice-pdf"
readme = "README.md"
keywords = [
    "pdf",
    "factur-x",
    "zugferd",
    "einvoice",
    "xmp",
]
categories = [
    "parser-implementations",
    "finance",
    "wasm",
]
license = "MIT"
repository = "https://github.com/einvoice-validator/einvoice-validator"

[lib]
name = "einvoice_pdf"
path = "src/lib.rs"

[[example]]
name = "measure"
path = "examples/measure.rs"

[[example]]
name = "wasm-extract"
path = "examples/wasm-extract.rs"

[[test]]
name = "malformed"
path = "tests/malformed.rs"

[[test]]
name = "properties"
path = "tests/properties.rs"

[[test]]
name = "samples"
path = "tests/samples.rs"

[[test]]
name = "synthetic"
path = "tests/synthetic.rs"

[dependencies.miniz_oxide]
version = "0.9.1"

[dependencies.roxmltree]
version = "0.21.2"

[dev-dependencies.peak_alloc]
version = "0.3.0"

[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"