millipede-html 0.1.0

HtmlCrawler for the Millipede web crawler: HTML parsing via scraper.
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 = "millipede-html"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HtmlCrawler for the Millipede web crawler: HTML parsing via scraper."
readme = "README.md"
keywords = [
    "crawler",
    "html",
    "scraper",
    "css-selector",
]
categories = [
    "web-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/satvik007/millipede"

[package.metadata.docs.rs]
all-features = true

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.futures-util]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.millipede-core]
version = "0.1.0"

[dependencies.millipede-http]
version = "0.1.0"

[dependencies.scraper]
version = "0.24"
features = ["atomic"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"
features = ["serde"]

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

[dev-dependencies.lol_html]
version = "=2.8.1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.wiremock]
version = "=0.6.4"

[lints.clippy]
await_holding_lock = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]