schematron 0.2.0

Schematron: pure Rust implementation of ISO/IEC 19757-3 rule-based XML validation, with its own XML parser, XPath 1.0 engine, XPath 2.0 subset, schema linting, and SVRL reporting. By SixArm.com.
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 = "2021"
rust-version = "1.94"
name = "schematron"
version = "0.2.0"
authors = ["Joel Parker Henderson <joel@joelparkerhenderson.com>"]
build = false
exclude = [
    "target/*",
    "fuzz/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Schematron: pure Rust implementation of ISO/IEC 19757-3 rule-based XML validation, with its own XML parser, XPath 1.0 engine, XPath 2.0 subset, schema linting, and SVRL reporting. By SixArm.com."
homepage = "https://github.com/schematron-rust/schematron-rust"
documentation = "https://docs.rs/schematron"
readme = "README.md"
keywords = [
    "schematron",
    "xml",
    "xpath",
    "validation",
    "svrl",
]
categories = [
    "parser-implementations",
    "command-line-utilities",
    "data-structures",
    "text-processing",
]
license = "MIT OR Apache-2.0 OR GPL-2.0-only OR GPL-3.0-only"
repository = "https://github.com/schematron-rust/schematron-rust"

[features]
cli = ["dep:clap"]
default = [
    "serde",
    "cli",
]
serde = [
    "dep:serde",
    "dep:serde_json",
]

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

[[bin]]
name = "schematron"
path = "src/main.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "bench_validate"
path = "benches/bench_validate.rs"
harness = false

[[bench]]
name = "bench_xml_parse"
path = "benches/bench_xml_parse.rs"
harness = false

[[bench]]
name = "bench_xpath"
path = "benches/bench_xpath.rs"
harness = false

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.quick-xml]
version = "0.37"

[dependencies.regex]
version = "1"
features = [
    "std",
    "unicode-perl",
    "unicode-case",
    "unicode-gencat",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.assertables]
version = "10"

[dev-dependencies.criterion]
version = "0.5"

[lints.clippy]
doc_markdown = "allow"
float_cmp = "allow"
format_push_string = "allow"
module_name_repetitions = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"

[profile.release]
lto = true
codegen-units = 1