sup-xml-core 1.3.0

Safe Rust core: error types, character primitives, encoding utilities
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-core"
version = "1.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust core: error types, character primitives, encoding utilities"
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]
c-abi = ["sup-xml-tree/c-abi"]
default = ["full-encodings"]
full-encodings = ["dep:encoding_rs"]
html = [
    "dep:html5ever",
    "dep:markup5ever",
]
network-resolver = ["dep:ureq"]
xsd = ["dep:bitflags"]

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

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

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

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

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

[dependencies.bitflags]
version = "2"
optional = true

[dependencies.bumpalo]
version = "3"

[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.elsa]
version = "1.10"

[dependencies.encoding_rs]
version = "0.8"
optional = true

[dependencies.html5ever]
version = "=0.39.0"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.markup5ever]
version = "=0.39.0"
optional = true

[dependencies.memchr]
version = "2"

[dependencies.regex]
version = "1"

[dependencies.rust_decimal]
version = "1"
default-features = false

[dependencies.rustc-hash]
version = "2"

[dependencies.simdutf8]
version = "0.1"

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

[dependencies.supso-project]
version = "1.0.0"

[dependencies.unicode-properties]
version = "0.1"
features = ["general-category"]
default-features = false

[dependencies.ureq]
version = "2"
features = ["tls"]
optional = true
default-features = false

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