[package]
edition = "2024"
rust-version = "1.88"
name = "parsec-web"
version = "0.3.1"
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast HTML parser that follows the WHATWG spec, with CSS selectors, a mutable DOM, and the Encoding, URL, XPath and CSS standards beside it."
documentation = "https://docs.rs/parsec-web"
readme = "README.md"
keywords = [
"html",
"parser",
"html5",
"dom",
"css-selectors",
]
categories = [
"parser-implementations",
"web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/parsec-html/parsec"
[package.metadata.docs.rs]
all-features = true
[features]
css = ["dep:parsec-web-css"]
default = [
"encoding",
"url",
"xpath",
]
encoding = ["dep:parsec-web-encoding"]
url = ["dep:parsec-url"]
xpath = ["dep:parsec-xpath"]
[lib]
name = "parsec"
path = "src/lib.rs"
[dependencies.html]
version = "0.3.1"
package = "parsec-web-core"
[dependencies.parsec-url]
version = "0.3.1"
optional = true
[dependencies.parsec-web-css]
version = "0.3.1"
optional = true
[dependencies.parsec-web-encoding]
version = "0.3.1"
optional = true
[dependencies.parsec-xpath]
version = "0.3.1"
optional = true