actix-web/awc/Cargo.toml

91 lines
2.6 KiB
TOML

[package]
name = "awc"
version = "3.0.0-beta.1"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Async HTTP and WebSocket client library built on the Actix ecosystem"
readme = "README.md"
keywords = ["actix", "http", "framework", "async", "web"]
homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-web.git"
documentation = "https://docs.rs/awc/"
categories = [
"network-programming",
"asynchronous",
"web-programming::http-client",
"web-programming::websocket",
]
license = "MIT OR Apache-2.0"
edition = "2018"
[lib]
name = "awc"
path = "src/lib.rs"
[package.metadata.docs.rs]
features = ["openssl", "rustls", "compress"]
[features]
default = ["compress"]
# openssl
openssl = ["open-ssl", "actix-tls/openssl"]
# rustls
rustls = ["rust-tls", "actix-tls/rustls"]
# content-encoding support
compress = ["actix-http/compress"]
# trust-dns as dns resolver
trust-dns = ["trust-dns-resolver/tokio-runtime", "trust-dns-resolver/system-config"]
[dependencies]
actix-codec = "0.4.0-beta.1"
actix-service = "2.0.0-beta.3"
actix-http = "3.0.0-beta.1"
actix-rt = "2.0.0-beta.2"
actix-tls = { version = "3.0.0-beta.2", default-features = false, features = ["connect", "uri"] }
actix-utils = "3.0.0-beta.1"
ahash = "0.6"
base64 = "0.13"
bytes = "1"
cfg-if = "1.0"
derive_more = "0.99.5"
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
futures-util = { version = "0.3.7", default-features = false, features = ["alloc"] }
h2 = "0.3"
http = "0.2.3"
indexmap = "1.6"
log =" 0.4"
mime = "0.3"
percent-encoding = "2.1"
rand = "0.8"
serde = "1.0"
serde_json = "1.0"
serde_urlencoded = "0.7"
slab = "0.4"
open-ssl = { version = "0.10", package = "openssl", optional = true }
pin-project = "1"
rust-tls = { version = "0.19.0", package = "rustls", optional = true, features = ["dangerous_configuration"] }
tokio = { version = "1", features = ["sync"] }
trust-dns-resolver = { version = "0.20.0", default-features = false, optional = true }
[dev-dependencies]
# TODO: actix is temporary added as dev dep for actix-macro reason.
# Can be removed when it does not impact tests.
actix = "0.11.0-beta.1"
actix-web = { version = "4.0.0-beta.1", features = ["openssl"] }
actix-http = { version = "3.0.0-beta.1", features = ["openssl"] }
actix-http-test = { version = "3.0.0-beta.1", features = ["openssl"] }
actix-utils = "3.0.0-beta.1"
actix-server = "2.0.0-beta.2"
actix-tls = { version = "3.0.0-beta.2", features = ["openssl", "rustls"] }
brotli2 = "0.3.2"
flate2 = "1.0.13"
futures-util = { version = "0.3.7", default-features = false }
env_logger = "0.7"
rcgen = "0.8"
webpki = "0.21"