[package]
edition = "2024"
rust-version = "1.85"
name = "rustycrawl-http-client"
version = "0.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A reqwest-like Hyper client with automatic cookie storage"
homepage = "https://github.com/theduke/rustycrawl"
documentation = "https://docs.rs/rustycrawl-http-client"
readme = "README.md"
keywords = [
"cookies",
"http",
"hyper",
"tokio",
"web",
]
categories = [
"network-programming",
"web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/theduke/rustycrawl"
resolver = "2"
[lib]
name = "rustycrawl_http_client"
path = "src/lib.rs"
[dependencies.cookie]
version = "0.18"
[dependencies.cookie_store]
version = "0.22"
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = ["client"]
[dependencies.hyper-rustls]
version = "0.27"
features = [
"http1",
"http2",
"ring",
"tls12",
"webpki-roots",
]
default-features = false
[dependencies.hyper-util]
version = "0.1"
features = [
"client-legacy",
"http1",
"http2",
"tokio",
]
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
]
default-features = false
[dependencies.serde]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["time"]
[dependencies.url]
version = "2"
[dev-dependencies.tokio]
version = "1"
features = [
"io-util",
"macros",
"net",
"rt-multi-thread",
]
[lints.rust]
unsafe_code = "forbid"