html-cleaning 0.3.0

HTML cleaning, sanitization, and text processing utilities
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 = "html-cleaning"
version = "0.3.0"
authors = ["Murrough Foley"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "LICENSE-*",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTML cleaning, sanitization, and text processing utilities"
homepage = "https://murroughfoley.com"
documentation = "https://docs.rs/html-cleaning"
readme = "README.md"
keywords = [
    "html",
    "sanitization",
    "cleaning",
    "text-processing",
    "dom",
]
categories = [
    "parser-implementations",
    "text-processing",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Murrough-Foley/html-cleaning"

[features]
default = ["presets"]
full = [
    "presets",
    "regex",
    "url",
]
presets = []
regex = ["dep:regex"]
url = ["dep:url"]

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

[dependencies.dom_query]
version = "0.24"

[dependencies.regex]
version = "1.11"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.url]
version = "2.5"
optional = true

[dev-dependencies.pretty_assertions]
version = "1.4"

[lints.clippy]
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_raw_string_hashes = "allow"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"