# 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"
name = "chadpath"
version = "0.3.1"
authors = [
    "Steve Ball <Steve.Ball@explain.com.au>",
    "Daniel Murphy <daniel@devasta.ie>",
    "Cerberus <markjacksoncbt@gmail.com>",
]
build = false
exclude = [
    "tests/xml/",
    "tests/conformance/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "XPath 1.0 / XSLT engine — a fork of xrust (Apache-2.0) with XPath positional-predicate correctness fixes and parser performance improvements. Used by chadselect."
documentation = "https://docs.rs/chadpath/"
readme = "README.md"
keywords = [
    "xml",
    "xpath",
    "xslt",
    "html",
    "scraping",
]
categories = ["parser-implementations"]
license = "Apache-2.0"
repository = "https://github.com/markjacksoncerberus/xrust"

[features]
default = ["xslt"]
test-conformance-xml = []
test-conformance-xmlid = []
xslt = []

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

[[example]]
name = "issue-30"
path = "examples/issue-30.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "smite-avt"
path = "tests/smite-avt.rs"

[[test]]
name = "smite-document"
path = "tests/smite-document.rs"

[[test]]
name = "smite-macros"
path = "tests/smite-macros.rs"

[[test]]
name = "smite-pattern"
path = "tests/smite-pattern.rs"

[[test]]
name = "smite-security"
path = "tests/smite-security.rs"

[[test]]
name = "smite-transform"
path = "tests/smite-transform.rs"

[[test]]
name = "smite-xpath"
path = "tests/smite-xpath.rs"

[[test]]
name = "smite-xslt"
path = "tests/smite-xslt.rs"

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

[dependencies.chrono]
version = "0.4.42"

[dependencies.english-numbers]
version = "0.3.3"

[dependencies.formato]
version = "0.3.0"

[dependencies.hexdump]
version = "0.1.2"

[dependencies.italian_numbers]
version = "1.0.0"

[dependencies.lexers]
version = "0.1.4"

[dependencies.pkg-version]
version = "1.0.0"

[dependencies.qualname]
version = "0.0.1"

[dependencies.regex]
version = "1.11.2"

[dependencies.rust_decimal]
version = "1.38.0"

[dependencies.rust_decimal_macros]
version = "1.38.0"

[dependencies.stacksafe]
version = "1"

[dependencies.unicode-segmentation]
version = "1.12.0"

[dependencies.url]
version = "2.5.7"

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

[dev-dependencies.encoding_rs]
version = "0.8.35"

[dev-dependencies.encoding_rs_io]
version = "0.1.7"

[dev-dependencies.indextree]
version = "4.7.4"
