cyper 0.8.0

HTTP client library based on compio and hyper
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 = "cyper"
version = "0.8.0"
authors = ["Berrysoft <Strawberry_Str@hotmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP client library based on compio and hyper"
readme = "README.md"
keywords = [
    "async",
    "net",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/compio-rs/cyper"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
all = [
    "cookies",
    "json",
    "native-tls",
    "rustls",
    "http2",
    "http3",
    "http3-altsvc",
    "stream",
    "multipart",
]
cookies = ["dep:cookie_store"]
default = ["native-tls"]
http2 = ["hyper-util/http2"]
http3 = [
    "dep:compio-quic",
    "dep:h3",
    "dep:once_cell",
    "dep:socket2",
    "compio/h3",
    "rustls",
]
http3-altsvc = ["http3"]
json = ["dep:serde_json"]
multipart = [
    "stream",
    "dep:mime_guess",
    "dep:percent-encoding",
]
native-tls = ["compio/native-tls"]
nightly = [
    "once_cell_try",
    "cyper-core/nightly",
    "cyper-axum/nightly",
]
nyquest = [
    "dep:nyquest-interface",
    "compio/sync",
]
nyquest-all = [
    "nyquest-async-stream",
    "nyquest-blocking-stream",
    "nyquest-multipart",
]
nyquest-async = [
    "nyquest",
    "nyquest/async",
    "nyquest-interface/async",
]
nyquest-async-stream = [
    "stream",
    "nyquest-async",
    "nyquest/async-stream",
    "nyquest-interface/async-stream",
]
nyquest-blocking = [
    "nyquest",
    "nyquest/blocking",
    "nyquest-interface/blocking",
]
nyquest-blocking-stream = [
    "stream",
    "nyquest-blocking",
    "nyquest/blocking-stream",
    "nyquest-interface/blocking-stream",
]
nyquest-multipart = [
    "nyquest",
    "multipart",
    "nyquest/multipart",
    "nyquest-interface/multipart",
]
once_cell_try = ["compio/once_cell_try"]
rustls = [
    "compio/rustls",
    "dep:rustls-platform-verifier",
]
stream = []

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

[[example]]
name = "client"
path = "examples/client.rs"

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

[[test]]
name = "cookie"
path = "tests/cookie.rs"
required-features = ["cookies"]

[[test]]
name = "multipart"
path = "tests/multipart.rs"
required-features = ["multipart"]

[[test]]
name = "nyquest"
path = "tests/nyquest.rs"
required-features = ["nyquest"]

[dependencies.async-stream]
version = "0.3"

[dependencies.base64]
version = "0.22"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.compio]
version = "0.18.0"
features = [
    "net",
    "fs",
    "time",
    "bytes",
    "tls",
]
default-features = false

[dependencies.compio-quic]
version = "0.7.0"
features = ["platform-verifier"]
optional = true

[dependencies.cookie_store]
version = "0.22"
optional = true

[dependencies.cyper-core]
version = "0.8.0"
default-features = false

[dependencies.encoding_rs]
version = "0.8"

[dependencies.futures-util]
version = "0.3.30"

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

[dependencies.http]
version = "1.0.0"

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

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

[dependencies.hyper-util]
version = "0.1.8"
features = [
    "client-legacy",
    "http1",
]

[dependencies.mime]
version = "0.3"

[dependencies.mime_guess]
version = "2.0"
optional = true
default-features = false

[dependencies.nyquest-interface]
version = "0.4.0"
optional = true

[dependencies.once_cell]
version = "1"
optional = true

[dependencies.percent-encoding]
version = "2.3"
optional = true

[dependencies.rustls-platform-verifier]
version = "0.6.0"
optional = true

[dependencies.send_wrapper]
version = "0.6"
features = ["futures"]

[dependencies.serde]
version = "1"

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

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.socket2]
version = "0.6"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tower-service]
version = "0.3.2"

[dependencies.url]
version = "2"

[dev-dependencies.axum]
version = "0.8.1"
default-features = false

[dev-dependencies.clap]
version = "4"
features = ["derive"]

[dev-dependencies.compio]
version = "0.18.0"
features = ["macros"]
default-features = true

[dev-dependencies.cookie]
version = "0.18"

[dev-dependencies.cyper-axum]
version = "0.8.0"
default-features = false

[dev-dependencies.futures-channel]
version = "0.3.29"

[dev-dependencies.nyquest]
version = "0.4.0"

[dev-dependencies.rustls]
version = "0.23.13"
features = ["ring"]
default-features = false

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.time]
version = "0.3"

[dev-dependencies.tower]
version = "0.5.1"