[package]
edition = "2024"
rust-version = "1.99"
name = "einvoice-xpath-eval"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Node model and evaluator of the XPath 2.0 subset used by the official e-invoicing validation stylesheets, with the behaviour of Saxon-HE 12.10"
homepage = "https://einvoice-validator.github.io/"
documentation = "https://docs.rs/einvoice-xpath-eval"
readme = "README.md"
keywords = [
"xpath",
"xslt",
"schematron",
"einvoice",
"peppol",
]
categories = [
"text-processing",
"wasm",
]
license = "MIT"
repository = "https://github.com/einvoice-validator/einvoice-validator"
[lib]
name = "einvoice_xpath_eval"
path = "src/lib.rs"
[[example]]
name = "bench-cen"
path = "examples/bench-cen.rs"
[[example]]
name = "heap-parse"
path = "examples/heap-parse.rs"
[[example]]
name = "saxon-oracle"
path = "examples/saxon-oracle.rs"
[[example]]
name = "wasm-smoke"
path = "examples/wasm-smoke.rs"
[[test]]
name = "depth"
path = "tests/depth.rs"
[[test]]
name = "evaluate"
path = "tests/evaluate.rs"
[[test]]
name = "expression_depth"
path = "tests/expression_depth.rs"
[[test]]
name = "oracle"
path = "tests/oracle.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[dependencies.einvoice-xdm]
version = "0.4.0"
[dependencies.einvoice-xml]
version = "0.4.0"
[dependencies.einvoice-xpath]
version = "0.4.0"
[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"