2019-03-26 04:58:01 +00:00
|
|
|
[package]
|
|
|
|
name = "awc"
|
2020-11-29 16:33:45 +00:00
|
|
|
version = "2.0.3"
|
2019-03-26 04:58:01 +00:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2020-10-30 02:50:53 +00:00
|
|
|
description = "Async HTTP and WebSocket client library built on the Actix ecosystem"
|
2019-03-26 04:58:01 +00:00
|
|
|
readme = "README.md"
|
2019-03-28 20:46:26 +00:00
|
|
|
keywords = ["actix", "http", "framework", "async", "web"]
|
2019-03-26 04:58:01 +00:00
|
|
|
homepage = "https://actix.rs"
|
|
|
|
repository = "https://github.com/actix/actix-web.git"
|
|
|
|
documentation = "https://docs.rs/awc/"
|
2020-07-22 00:13:10 +00:00
|
|
|
categories = [
|
|
|
|
"network-programming",
|
|
|
|
"asynchronous",
|
|
|
|
"web-programming::http-client",
|
|
|
|
"web-programming::websocket",
|
|
|
|
]
|
2020-07-14 02:19:56 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-03-26 04:58:01 +00:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "awc"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2019-03-27 01:46:06 +00:00
|
|
|
[package.metadata.docs.rs]
|
2019-12-12 09:08:08 +00:00
|
|
|
features = ["openssl", "rustls", "compress"]
|
2019-03-27 01:46:06 +00:00
|
|
|
|
2019-03-26 04:58:01 +00:00
|
|
|
[features]
|
2019-12-15 07:36:05 +00:00
|
|
|
default = ["compress"]
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
# openssl
|
2019-11-19 03:55:17 +00:00
|
|
|
openssl = ["open-ssl", "actix-http/openssl"]
|
2019-03-26 04:58:01 +00:00
|
|
|
|
2019-07-31 20:02:56 +00:00
|
|
|
# rustls
|
2019-12-05 17:35:43 +00:00
|
|
|
rustls = ["rust-tls", "actix-http/rustls"]
|
2019-07-31 20:02:56 +00:00
|
|
|
|
2019-12-12 09:08:08 +00:00
|
|
|
# content-encoding support
|
|
|
|
compress = ["actix-http/compress"]
|
2019-03-27 01:46:06 +00:00
|
|
|
|
2019-03-26 04:58:01 +00:00
|
|
|
[dependencies]
|
2021-01-03 23:47:04 +00:00
|
|
|
actix-codec = "0.4.0-beta.1"
|
|
|
|
actix-service = "2.0.0-beta.2"
|
2020-11-29 16:33:45 +00:00
|
|
|
actix-http = "2.2.0"
|
2021-01-03 23:47:04 +00:00
|
|
|
actix-rt = "2.0.0-beta.1"
|
2019-11-19 03:55:17 +00:00
|
|
|
|
2020-10-19 17:24:22 +00:00
|
|
|
base64 = "0.13"
|
2021-01-03 23:47:04 +00:00
|
|
|
bytes = "1"
|
2020-10-24 20:15:01 +00:00
|
|
|
cfg-if = "1.0"
|
2019-11-25 11:59:14 +00:00
|
|
|
derive_more = "0.99.2"
|
2021-01-03 23:47:04 +00:00
|
|
|
futures-core = { version = "0.3.7", default-features = false }
|
2019-03-26 04:58:01 +00:00
|
|
|
log =" 0.4"
|
2019-04-01 18:51:18 +00:00
|
|
|
mime = "0.3"
|
2019-08-13 17:48:11 +00:00
|
|
|
percent-encoding = "2.1"
|
2020-12-22 23:45:31 +00:00
|
|
|
rand = "0.8"
|
2019-03-26 04:58:01 +00:00
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
2020-11-05 16:36:15 +00:00
|
|
|
serde_urlencoded = "0.7"
|
2020-05-07 21:46:42 +00:00
|
|
|
open-ssl = { version = "0.10", package = "openssl", optional = true }
|
2021-01-03 23:47:04 +00:00
|
|
|
rust-tls = { version = "0.19.0", package = "rustls", optional = true, features = ["dangerous_configuration"] }
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-01-03 23:47:04 +00:00
|
|
|
# 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"
|
2020-09-11 12:50:10 +00:00
|
|
|
actix-web = { version = "3.0.0", features = ["openssl"] }
|
|
|
|
actix-http = { version = "2.0.0", features = ["openssl"] }
|
|
|
|
actix-http-test = { version = "2.0.0", features = ["openssl"] }
|
2021-01-03 23:47:04 +00:00
|
|
|
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"] }
|
2019-12-20 07:50:07 +00:00
|
|
|
brotli2 = "0.3.2"
|
2019-12-12 09:08:08 +00:00
|
|
|
flate2 = "1.0.13"
|
2021-01-03 23:47:04 +00:00
|
|
|
futures-util = { version = "0.3.7", default-features = false }
|
2020-03-01 01:44:26 +00:00
|
|
|
env_logger = "0.7"
|
2019-12-12 09:08:08 +00:00
|
|
|
webpki = "0.21"
|