[package]
edition = "2024"
rust-version = "1.85"
name = "millipede-http"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HttpCrawler for the Millipede web crawler: reqwest-based HTTP fetching."
readme = "README.md"
keywords = [
"crawler",
"http",
"reqwest",
"scraper",
]
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_http"
path = "src/lib.rs"
[[test]]
name = "coalesce"
path = "tests/coalesce.rs"
[[test]]
name = "http_crawler"
path = "tests/http_crawler.rs"
[[test]]
name = "lock_progress"
path = "tests/lock_progress.rs"
[[test]]
name = "reqwest_client"
path = "tests/reqwest_client.rs"
[[test]]
name = "router_http"
path = "tests/router_http.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
features = ["serde"]
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.millipede-core]
version = "0.1.0"
[dependencies.millipede-fingerprint]
version = "0.1.0"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"http2",
"gzip",
"brotli",
"deflate",
"json",
"stream",
]
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"serde",
"serde-well-known",
"macros",
"formatting",
"parsing",
]
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
features = ["serde"]
[dev-dependencies.console-subscriber]
version = "0.4"
[dev-dependencies.serde_json]
version = "1"
[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)"]