dom_query 0.26.0

HTML querying and manipulation with CSS selectors
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"
rust-version = "1.75"
name = "dom_query"
version = "0.26.0"
authors = [
    "niklak <morgenpurple@gmail.com>",
    "importcjj <importcjj@gmail.com>",
]
build = false
exclude = [
    ".*",
    "test-pages",
    "deny.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTML querying and manipulation with CSS selectors"
documentation = "https://docs.rs/dom_query/latest"
readme = "README.md"
keywords = [
    "html",
    "css",
    "selectors",
    "scraping",
    "parser",
]
license = "MIT"
repository = "https://github.com/niklak/dom_query"

[features]
atomic = []
default = ["markdown"]
hashbrown = ["dep:hashbrown"]
markdown = []
mini_selector = ["dep:nom"]

[lib]
name = "dom_query"
path = "src/lib.rs"

[[example]]
name = "descendant_elements"
path = "examples/descendant_elements.rs"

[[example]]
name = "hacker_news"
path = "examples/hacker_news.rs"

[[example]]
name = "manipulate_html"
path = "examples/manipulate_html.rs"

[[example]]
name = "markdown"
path = "examples/markdown.rs"
required-features = ["markdown"]

[[example]]
name = "pseudo_classes"
path = "examples/pseudo_classes.rs"

[[example]]
name = "remove_elements"
path = "examples/remove_elements.rs"

[[example]]
name = "send_document"
path = "examples/send_document.rs"
required-features = ["atomic"]

[[example]]
name = "serialize_html"
path = "examples/serialize_html.rs"

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

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

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

[[test]]
name = "node-manipulation"
path = "tests/node-manipulation.rs"

[[test]]
name = "node-traversal"
path = "tests/node-traversal.rs"

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

[[test]]
name = "pseudo-classes"
path = "tests/pseudo-classes.rs"

[[test]]
name = "selection-manipulation"
path = "tests/selection-manipulation.rs"

[[test]]
name = "selection-property"
path = "tests/selection-property.rs"

[[test]]
name = "selection-query"
path = "tests/selection-query.rs"

[[test]]
name = "selection-traversal"
path = "tests/selection-traversal.rs"

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

[dependencies.bit-set]
version = "0.8.0"

[dependencies.cssparser]
version = "0.36.0"

[dependencies.foldhash]
version = "0.2.0"

[dependencies.hashbrown]
version = "0.16.0"
features = [
    "allocator-api2",
    "inline-more",
    "default-hasher",
]
optional = true
default-features = false

[dependencies.html5ever]
version = "0.38.0"

[dependencies.nom]
version = "8.0.0"
optional = true

[dependencies.precomputed-hash]
version = "0.1.1"

[dependencies.selectors]
version = "0.36.0"

[dependencies.tendril]
version = "0.5.0"

[dev-dependencies.alloc_cat]
version = "=1.0.0"

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

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
incremental = false