decruft 0.1.3

Extract clean, readable content from web pages
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 = "2024"
rust-version = "1.85"
name = "decruft"
version = "0.1.3"
build = false
exclude = [
    "tests/fixtures",
    "tests/expected",
    "tools/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extract clean, readable content from web pages"
homepage = "https://github.com/jamtur01/decruft"
documentation = "https://docs.rs/decruft"
readme = "README.md"
keywords = [
    "html",
    "content-extraction",
    "readability",
    "scraping",
    "web",
]
categories = [
    "command-line-utilities",
    "parser-implementations",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/jamtur01/decruft"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
regex-lite = "0.1"

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

[[bin]]
name = "decruft"
path = "src/main.rs"

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

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

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

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

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

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

[[bench]]
name = "extraction"
path = "benches/extraction.rs"
harness = false

[dependencies.clap]
version = "4.6.0"
features = ["derive"]

[dependencies.ego-tree]
version = "0.11.0"

[dependencies.fancy-regex]
version = "0.17.0"

[dependencies.htmd]
version = "0.5.4"

[dependencies.markup5ever]
version = "0.39.0"

[dependencies.regex]
version = "1.12.3"

[dependencies.scraper]
version = "0.26.0"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.ureq]
version = "3.3.0"

[dependencies.url]
version = "2.5.8"

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

[dev-dependencies.regex-lite]
version = "0.1"

[lints.clippy]
module_name_repetitions = "allow"
similar_names = "allow"

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