[package]
edition = "2024"
rust-version = "1.85"
name = "scrapling-fetch"
version = "0.2.0"
authors = ["Chris Bruce <chrisabruce@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP fetcher with TLS impersonation for scrapling"
readme = "README.md"
license = "MIT"
repository = "https://github.com/chrisabruce/scrapling-rs"
[lib]
name = "scrapling_fetch"
path = "src/lib.rs"
[[test]]
name = "test_http_mock"
path = "tests/test_http_mock.rs"
[[test]]
name = "test_proxy_rotation"
path = "tests/test_proxy_rotation.rs"
[[test]]
name = "test_status_and_fingerprint"
path = "tests/test_status_and_fingerprint.rs"
[dependencies.bytes]
version = "1"
[dependencies.rand]
version = "0.8"
[dependencies.scrapling]
version = "0.2.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dependencies.wreq]
version = "6.0.0-rc.28"
features = [
"cookies",
"gzip",
"brotli",
"deflate",
"json",
"charset",
"socks",
]
[dependencies.wreq-util]
version = "3.0.0-rc.10"
features = ["emulation"]
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[dev-dependencies.wiremock]
version = "0.6"