# 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 = "2021"
rust-version = "1.75"
name = "gottem-adapters-http"
version = "0.1.16"
authors = ["Jeffrey Mendez <jeff@spider.cloud>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gottem HTTP adapters: DirectHttp, HttpJson, HttpJsonlStream for cloud vendor APIs (Firecrawl, Spider, ZenRows, ScrapingBee, Zyte, Brightdata)."
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/spider-rs/gottem"

[features]
default = []

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

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

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

[dependencies.bytes]
version = "1"

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

[dependencies.futures-util]
version = "0.3"
features = [
    "std",
    "async-await",
]
default-features = false

[dependencies.gottem-core]
version = "0.1.16"

[dependencies.http]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "gzip",
    "brotli",
    "stream",
    "http2",
]
default-features = false

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
    "macros",
    "rt",
    "sync",
    "time",
    "macros",
]
default-features = false

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
    "macros",
    "rt-multi-thread",
    "macros",
]
default-features = false

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

[lints.clippy]
await_holding_lock = "deny"

[lints.rust]
unsafe_code = "forbid"
