[package]
edition = "2024"
name = "scah"
version = "0.0.13"
build = false
exclude = [
"nodejs/*",
"python/*",
"benches/*",
]
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"
[lib]
name = "scah"
path = "src/lib.rs"
[[bin]]
name = "scah"
path = "src/main.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "real_html_test"
path = "tests/real_html_test.rs"
[dependencies.smallvec]
version = "1.15.1"
[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"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 1
panic = "unwind"
overflow-checks = false
incremental = false
strip = "none"
[profile.release.package."*"]
opt-level = 3
codegen-units = 1
debug = 1