awc 3.8.2

Async HTTP and WebSocket client library
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 = "2021"
name = "awc"
version = "3.8.2"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async HTTP and WebSocket client library"
homepage = "https://actix.rs"
readme = "README.md"
keywords = [
    "actix",
    "http",
    "framework",
    "async",
    "web",
]
categories = [
    "network-programming",
    "asynchronous",
    "web-programming::http-client",
    "web-programming::websocket",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/actix/actix-web"

[package.metadata.docs.rs]
features = [
    "cookies",
    "openssl",
    "rustls-0_20",
    "rustls-0_21",
    "rustls-0_22-webpki-roots",
    "rustls-0_23-webpki-roots",
    "compress-brotli",
    "compress-gzip",
    "compress-zstd",
]

[package.metadata.cargo_check_external_types]
allowed_external_types = [
    "actix_codec::*",
    "actix_http::*",
    "actix_rt::*",
    "actix_service::*",
    "actix_tls::*",
    "bytes::*",
    "cookie::*",
    "cookie",
    "futures_core::*",
    "h2::*",
    "http::*",
    "openssl::*",
    "rustls::*",
    "serde_json::*",
    "serde_urlencoded::*",
    "serde::*",
    "tokio::*",
]

[features]
__compress = []
compress-brotli = [
    "actix-http/compress-brotli",
    "__compress",
]
compress-gzip = [
    "actix-http/compress-gzip",
    "__compress",
]
compress-zstd = [
    "actix-http/compress-zstd",
    "__compress",
]
cookies = ["dep:cookie"]
dangerous-h2c = []
default = [
    "compress-brotli",
    "compress-gzip",
    "compress-zstd",
    "cookies",
]
hickory-dns = ["dep:hickory-resolver"]
openssl = [
    "tls-openssl",
    "actix-tls/openssl",
]
rustls = ["rustls-0_20"]
rustls-0_20 = [
    "tls-rustls-0_20",
    "actix-tls/rustls-0_20",
]
rustls-0_21 = [
    "tls-rustls-0_21",
    "actix-tls/rustls-0_21",
]
rustls-0_22-native-roots = [
    "tls-rustls-0_22",
    "actix-tls/rustls-0_22-native-roots",
]
rustls-0_22-webpki-roots = [
    "tls-rustls-0_22",
    "actix-tls/rustls-0_22-webpki-roots",
]
rustls-0_23 = [
    "tls-rustls-0_23",
    "actix-tls/rustls-0_23",
]
rustls-0_23-native-roots = [
    "rustls-0_23",
    "actix-tls/rustls-0_23-native-roots",
]
rustls-0_23-webpki-roots = [
    "rustls-0_23",
    "actix-tls/rustls-0_23-webpki-roots",
]
trust-dns = ["hickory-dns"]

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

[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["rustls-0_23-webpki-roots"]

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

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

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

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

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

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

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

[dependencies.actix-codec]
version = "0.5"

[dependencies.actix-http]
version = "3.12.0"
features = [
    "http2",
    "ws",
]

[dependencies.actix-rt]
version = "2.1"
default-features = false

[dependencies.actix-service]
version = "2"

[dependencies.actix-tls]
version = "3.4"
features = [
    "connect",
    "uri",
]

[dependencies.actix-utils]
version = "3"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

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

[dependencies.cookie]
version = "0.16"
features = ["percent-encode"]
optional = true

[dependencies.derive_more]
version = "2"
features = [
    "display",
    "error",
    "from",
]

[dependencies.futures-core]
version = "0.3.17"
features = ["alloc"]
default-features = false

[dependencies.futures-util]
version = "0.3.17"
features = [
    "alloc",
    "sink",
]
default-features = false

[dependencies.h2]
version = "0.3.27"

[dependencies.hickory-resolver]
version = "0.25"
features = [
    "system-config",
    "tokio",
]
optional = true

[dependencies.http]
version = "0.2.7"

[dependencies.itoa]
version = "1"

[dependencies.log]
version = "0.4"

[dependencies.mime]
version = "0.3"

[dependencies.percent-encoding]
version = "2.1"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.rand]
version = "0.9"

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.tls-openssl]
version = "0.10.55"
optional = true
package = "openssl"

[dependencies.tls-rustls-0_20]
version = "0.20"
features = ["dangerous_configuration"]
optional = true
package = "rustls"

[dependencies.tls-rustls-0_21]
version = "0.21"
features = ["dangerous_configuration"]
optional = true
package = "rustls"

[dependencies.tls-rustls-0_22]
version = "0.22"
optional = true
package = "rustls"

[dependencies.tls-rustls-0_23]
version = "0.23"
optional = true
default-features = false
package = "rustls"

[dependencies.tokio]
version = "1.38.2"
features = ["sync"]

[dev-dependencies.actix-http]
version = "3.12"
features = ["openssl"]

[dev-dependencies.actix-http-test]
version = "3"
features = ["openssl"]

[dev-dependencies.actix-server]
version = "2"

[dev-dependencies.actix-test]
version = "0.1"
features = [
    "openssl",
    "rustls-0_23",
]

[dev-dependencies.actix-tls]
version = "3.4"
features = [
    "openssl",
    "rustls-0_23",
]

[dev-dependencies.actix-utils]
version = "3"

[dev-dependencies.actix-web]
version = "4.13"
features = ["openssl"]

[dev-dependencies.brotli]
version = "8"

[dev-dependencies.const-str]
version = "0.5"

[dev-dependencies.env_logger]
version = "0.11"

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

[dev-dependencies.futures-util]
version = "0.3.17"
default-features = false

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

[dev-dependencies.rustls-pki-types]
version = "1.13.1"

[dev-dependencies.static_assertions]
version = "1.1"

[dev-dependencies.tls-rustls-0_23]
version = "0.23"
package = "rustls"

[dev-dependencies.tokio]
version = "1.38.2"
features = [
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.zstd]
version = "0.13"

[lints.clippy]

[lints.rust.future_incompatible]
level = "deny"
priority = 0

[lints.rust.nonstandard_style]
level = "deny"
priority = 0

[lints.rust.rust_2018_idioms]
level = "deny"
priority = 0