fibre_http 0.5.2

HTTP client whose handles switch between blocking and async with to_sync and to_async, sharing one connection pool.
Documentation
# 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 = "2024"
name = "fibre_http"
version = "0.5.2"
authors = ["Excerion Sun <dev@excsn.com>"]
build = false
include = [
    "/src/**/*.rs",
    "/Cargo.toml",
    "/LICENSE",
    "/README.md",
    "/README.USAGE.md",
    "/API_REFERENCE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP client whose handles switch between blocking and async with to_sync and to_async, sharing one connection pool."
readme = "README.md"
keywords = [
    "http",
    "client",
    "async",
    "sync",
    "http2",
]
categories = [
    "network-programming",
    "web-programming::http-client",
    "asynchronous",
]
license = "MPL-2.0"
repository = "https://github.com/excsn/fibre"
resolver = "2"

[features]
cookies = [
    "dep:cookie_store",
    "dep:url",
]
default = [
    "http1",
    "http2",
    "rustls",
    "webpki-roots",
]
diagnostics = []
gzip = ["dep:flate2"]
hickory = ["dep:hickory-resolver"]
http1 = ["dep:ureq-proto"]
http2 = ["dep:h2"]
json = [
    "dep:serde",
    "dep:serde_json",
]
native-roots = [
    "dep:rustls-native-certs",
    "rustls",
]
native-tls = ["dep:native-tls"]
rustls = ["dep:rustls"]
webpki-roots = [
    "dep:webpki-roots",
    "rustls",
]
zstd = ["dep:ruzstd"]

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

[dependencies.bytes]
version = "1.12.1"

[dependencies.cookie_store]
version = "0.22.1"
optional = true
default-features = false

[dependencies.fibre]
version = "0.6.9"

[dependencies.flate2]
version = "1.1.11"
optional = true

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

[dependencies.h2]
version = "0.4.20"
optional = true

[dependencies.hickory-resolver]
version = "0.26.3"
optional = true

[dependencies.http]
version = "1.5.0"

[dependencies.libc]
version = "0.2.191"

[dependencies.native-tls]
version = "0.2.18"
features = ["alpn"]
optional = true

[dependencies.parking_lot]
version = "0.13.0"

[dependencies.rustls]
version = "0.23.46"
features = [
    "ring",
    "std",
    "tls12",
]
optional = true
default-features = false

[dependencies.rustls-native-certs]
version = "0.8.5"
optional = true

[dependencies.ruzstd]
version = "0.9.1"
optional = true

[dependencies.serde]
version = "1.0.229"
optional = true

[dependencies.serde_json]
version = "1.0.154"
optional = true

[dependencies.tokio]
version = "1.54.1"
features = [
    "net",
    "rt",
    "time",
]
default-features = false

[dependencies.ureq-proto]
version = "0.7.1"
features = ["client"]
optional = true
default-features = false

[dependencies.url]
version = "2.5.8"
optional = true

[dependencies.webpki-roots]
version = "1.0.11"
optional = true

[dev-dependencies.flate2]
version = "1.1.11"

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

[dev-dependencies.h2]
version = "0.4.20"

[dev-dependencies.rcgen]
version = "0.14.10"

[dev-dependencies.ruzstd]
version = "0.9.1"

[dev-dependencies.tokio]
version = "1.54.1"
features = [
    "macros",
    "net",
    "rt",
    "rt-multi-thread",
    "time",
    "io-util",
]

[dev-dependencies.tokio-rustls]
version = "0.26.6"
features = [
    "ring",
    "tls12",
]
default-features = false

[target."cfg(shuttle)".dependencies.shuttle]
version = "0.9.10"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(shuttle)"]