2019-03-26 04:58:01 +00:00
|
|
|
[package]
|
|
|
|
name = "awc"
|
2020-09-11 12:50:10 +00:00
|
|
|
version = "2.0.0"
|
2019-03-26 04:58:01 +00:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2020-07-22 00:13:10 +00:00
|
|
|
description = "Async HTTP client library that uses the Actix runtime."
|
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]
|
2020-08-24 09:13:35 +00:00
|
|
|
actix-codec = "0.3.0"
|
2020-09-11 12:50:10 +00:00
|
|
|
actix-service = "1.0.6"
|
|
|
|
actix-http = "2.0.0"
|
2019-12-11 13:20:20 +00:00
|
|
|
actix-rt = "1.0.0"
|
2019-11-19 03:55:17 +00:00
|
|
|
|
2020-10-19 17:24:22 +00:00
|
|
|
base64 = "0.13"
|
2019-12-13 06:36:15 +00:00
|
|
|
bytes = "0.5.3"
|
2019-11-25 11:59:14 +00:00
|
|
|
derive_more = "0.99.2"
|
2020-05-18 02:46:57 +00:00
|
|
|
futures-core = { version = "0.3.5", 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"
|
2019-07-01 03:37:03 +00:00
|
|
|
rand = "0.7"
|
2019-03-26 04:58:01 +00:00
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
2019-08-13 17:48:11 +00:00
|
|
|
serde_urlencoded = "0.6.1"
|
2020-05-07 21:46:42 +00:00
|
|
|
open-ssl = { version = "0.10", package = "openssl", optional = true }
|
2020-08-17 15:28:39 +00:00
|
|
|
rust-tls = { version = "0.18.0", package = "rustls", optional = true, features = ["dangerous_configuration"] }
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-09-09 08:20:54 +00:00
|
|
|
actix-connect = { version = "2.0.0", features = ["openssl"] }
|
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"] }
|
2020-08-24 09:13:35 +00:00
|
|
|
actix-utils = "2.0.0"
|
2019-12-11 13:20:20 +00:00
|
|
|
actix-server = "1.0.0"
|
2020-09-09 08:20:54 +00:00
|
|
|
actix-tls = { version = "2.0.0", 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"
|
2020-05-18 02:46:57 +00:00
|
|
|
futures-util = { version = "0.3.5", 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"
|