sup-xml 1.1.0

Modern idiomatic Rust API for SupXML
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.85"
name = "sup-xml"
version = "1.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modern idiomatic Rust API for SupXML"
homepage = "https://supso.org/projects/sup-xml"
readme = "README.md"
keywords = [
    "xml",
    "libxml2",
    "xpath",
    "xslt",
    "parser",
]
categories = [
    "parser-implementations",
    "text-processing",
]
license-file = "LICENSE"
repository = "https://github.com/SupsoOrg/sup-xml"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
html = ["sup-xml-core/html"]
network-resolver = ["sup-xml-core/network-resolver"]
serde = [
    "dep:serde",
    "dep:simdutf8",
]
tokio = ["dep:tokio"]
xsd = ["sup-xml-core/xsd"]
xslt = ["dep:sup-xml-xslt"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.simdutf8]
version = "0.1"
optional = true

[dependencies.sup-xml-core]
version = "1.1.0"

[dependencies.sup-xml-tree]
version = "1.1.0"

[dependencies.sup-xml-xslt]
version = "1.1.0"
optional = true

[dependencies.tokio]
version = "1"
features = ["io-util"]
optional = true
default-features = false

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[lints.clippy]
collapsible_match = "deny"
manual_filter = "deny"
manual_map = "deny"
manual_unwrap_or = "deny"
manual_unwrap_or_default = "deny"

[lints.rust]
dead_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]