node-html-parser 0.1.0

Fast HTML parser for Rust & WASM producing a lightweight DOM with CSS selector querying.
Documentation
[[bin]]
name = "node-html-parser"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.98"

[dependencies.console_error_panic_hook]
optional = true
version = "0.1"

[dependencies.futures]
version = "0.3.31"

[dependencies.html-escape]
version = "0.2"

[dependencies.percent-encoding]
version = "2.3.1"

[dependencies.rayon]
optional = true
version = "1.10.0"

[dependencies.regex]
version = "1.11.1"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.wasm-bindgen]
optional = true
version = "0.2"

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[features]
default = ["parallel"]
parallel = ["rayon"]
wasm = ["wasm-bindgen", "console_error_panic_hook"]

[lib]
crate-type = ["cdylib", "rlib"]
name = "node_html_parser"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parser-implementations", "web-programming", "wasm"]
description = "Fast HTML parser for Rust & WASM producing a lightweight DOM with CSS selector querying."
documentation = "https://docs.rs/node-html-parser"
edition = "2021"
exclude = ["core.*", "scripts/*", "db/*", "init.d/*", "target/*", "pkg/*"]
keywords = ["html", "parser", "dom", "css", "wasm"]
license = "MIT"
name = "node-html-parser"
readme = "README.md"
repository = "https://github.com/taoqf/node-html-parser-rs"
version = "0.1.0"

[profile.release]
codegen-units = 1
lto = "fat"
opt-level = "z"
strip = true

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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