node-html-parser 0.1.1

Fast HTML parser for Rust & WASM producing a lightweight DOM with CSS selector querying.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

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

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

[[bin]]
name = "node-html-parser"
path = "src/main.rs"

[[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 = "import"
path = "tests/import.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"

[dependencies.anyhow]
version = "1.0.98"

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

[dependencies.futures]
version = "0.3.31"

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

[dependencies.js-sys]
version = "0.3"
optional = true

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

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

[dependencies.regex]
version = "1.11.1"

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

[dependencies.serde_json]
version = "1.0"

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

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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

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