[package]
edition = "2024"
name = "scah"
version = "0.0.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CSS selectors meet streaming XML/HTML parsing. Filter StAX events and build targeted DOMs without loading the entire document."
homepage = "https://github.com/zacharyvmm/scah"
documentation = "https://docs.rs/scah"
readme = "README.md"
keywords = [
"css",
"selector",
"parser",
"html",
"sax",
]
categories = [
"parser-implementations",
"web-programming",
]
license = "MIT"
repository = "https://github.com/zacharyvmm/scah"
[features]
bench-internals = []
default = []
otel = ["dep:tracing"]
[lib]
name = "scah"
path = "src/lib.rs"
[[example]]
name = "capacity_profile"
path = "examples/capacity_profile.rs"
[[test]]
name = "debugging_test"
path = "tests/debugging_test.rs"
[[test]]
name = "html_soup_test"
path = "tests/html_soup_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "real_html_test"
path = "tests/real_html_test.rs"
[dependencies.scah-macros]
version = "0.0.21"
[dependencies.scah-query-ir]
version = "0.0.21"
[dependencies.scah-reader]
version = "0.0.21"
[dependencies.smallvec]
version = "1.15.1"
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[lints.clippy]
byte_char_slices = "allow"
len_without_is_empty = "allow"
let-and-return = "allow"
redundant-field-names = "allow"