1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[]
= "sup-xml"
= "Modern idiomatic Rust API for SupXML"
= "README.md"
= true
= true
= true
= true
= true
= true
= true
= true
[]
= true
[]
# Pull in `serde` to enable `sup_xml::de::*` — typed-struct deserialization
# of XML directly into Rust values via Serde. Adds a `serde` dependency;
# disabled by default so users who only want the event/DOM API don't pay
# the compile-time cost.
= ["dep:serde", "dep:simdutf8"]
# Pull in the XSD (XML Schema 1.0) validator under `sup_xml::xsd::*`.
# Adds `rust_decimal` and `regex` via `sup-xml-core`'s `xsd` feature.
= ["sup-xml-core/xsd"]
# Pull in `NetworkResolver` for HTTPS-fetched DTDs / entities. Off
# by default — pulls `ureq` as a transitive dep. See
# `sup_xml::NetworkResolver` for the security policy.
= ["sup-xml-core/network-resolver"]
# Pull in the lenient HTML5 parser under `sup_xml::html::*`.
# Off by default — pulls `html5ever` as a transitive dep.
# See `sup_xml::parse_html_str` for the entry point.
= ["sup-xml-core/html"]
# Pull in the XSLT 1.0 engine under `sup_xml::xslt::*`
# (Stylesheet, Loader, Schematron, the apply_* family).
# Off by default — adds the `sup-xml-xslt` crate as a dep.
= ["dep:sup-xml-xslt"]
# Pull in `sup_xml::async_io::parse_async_*` — async entry points
# that read bytes via `tokio::io::AsyncReadExt` then dispatch to
# the (synchronous, CPU-bound) parser. Off by default — adds
# `tokio` as a dep.
= ["dep:tokio"]
[]
= { = "../core", = "1.3.0" }
= { = "../tree", = "1.3.0" }
= { = "../xslt", = "1.3.0", = true }
= { = "1", = true }
= { = "1", = true, = false, = ["io-util"] }
# SIMD-accelerated UTF-8 validation for the serde `from_bytes` entry — the
# same `compat::from_utf8` drop-in the core parser's input gates use. Only
# the serde path needs it directly, so it rides the `serde` feature.
= { = "0.1", = true }
[]
= { = "1", = ["derive"] }
# Used by the `tokio` feature's tests for `#[tokio::test]`. Only
# pulled in when running the test suite with --features tokio.
= { = "1", = ["macros", "rt"] }
# Build docs.rs with every optional feature enabled so the gated
# modules (xsd, xslt, html, serde de, async_io, network-resolver)
# all appear in the published documentation.
[]
= true