# 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.64.0"
name = "deboa"
version = "0.0.9"
authors = ["Rogerio Araújo <rogerio.araujo@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A friendly rest client on top of hyper."
homepage = "https://github.com/ararog/deboa"
readme = "README.md"
keywords = [
    "http",
    "networking",
    "client",
    "fetch",
    "rest-client",
]
license = "MIT"
repository = "https://github.com/ararog/deboa"
resolver = "3"

[features]
default = ["tokio-rt"]
http1 = []
http2 = []
http3 = [
    "dep:h3",
    "dep:h3-quinn",
    "dep:quinn",
]
smol-rt = [
    "http1",
    "http2",
    "dep:async-native-tls",
    "dep:smol",
    "dep:smol-hyper",
    "dep:async-executor",
    "dep:smol-macros",
    "dep:macro_rules_attribute",
]
tokio-rt = [
    "http1",
    "http2",
    "dep:tokio",
    "dep:tokio-native-tls",
]

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

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

[dependencies.async-executor]
version = "1.13.3"
optional = true

[dependencies.async-native-tls]
version = "0.5.0"
optional = true

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.11"
optional = false

[dependencies.cookie]
version = "0.15.2"

[dependencies.futures]
version = "0.3.31"

[dependencies.h3]
version = "0.0.6"
optional = true

[dependencies.h3-quinn]
version = "0.0.5"
optional = true

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.8.1"
features = [
    "client",
    "http1",
    "http2",
]

[dependencies.hyper-util]
version = "0.1.19"
features = [
    "http1",
    "http2",
    "client",
    "tokio",
]

[dependencies.indexmap]
version = "2.11.4"

[dependencies.macro_rules_attribute]
version = "0.2.2"
optional = true

[dependencies.mime]
version = "0.3.17"

[dependencies.minimime]
version = "1.0.0"

[dependencies.mockall]
version = "0.14.0"

[dependencies.quinn]
version = "0.10.2"
optional = true

[dependencies.rand]
version = "0.9.2"

[dependencies.regex]
version = "1.9.6"

[dependencies.serde]
version = "1.0.217"
features = ["derive"]

[dependencies.smol]
version = "2.0.2"
optional = true

[dependencies.smol-hyper]
version = "0.1.0"
features = ["smol"]
optional = true

[dependencies.smol-macros]
version = "0.1.1"
optional = true

[dependencies.thiserror]
version = "2.0.17"

[dependencies.time]
version = "=0.2.27"

[dependencies.tokio]
version = "1.47.2"
features = [
    "macros",
    "rt-multi-thread",
]
optional = true

[dependencies.tokio-native-tls]
version = "0.3.1"
optional = true

[dependencies.url]
version = "2.5.4"

[dependencies.urlencoding]
version = "2.1.3"

[dev-dependencies.criterion]
version = "0.8.1"
features = [
    "html_reports",
    "async",
    "async_smol",
    "async_tokio",
]

[dev-dependencies.futures-util]
version = "0.3.31"

[dev-dependencies.httpmock]
version = "0.8.2"
features = ["http2"]

[dev-dependencies.multer]
version = "3.1.0"

[dev-dependencies.smol]
version = "2.0.2"

[dev-dependencies.tokio]
version = "1.47.2"
