2019-03-26 04:58:01 +00:00
|
|
|
[package]
|
|
|
|
name = "awc"
|
2021-04-02 08:40:36 +00:00
|
|
|
version = "3.0.0-beta.4"
|
|
|
|
authors = [
|
|
|
|
"Nikolay Kim <fafhrd91@gmail.com>",
|
|
|
|
"fakeshadow <24548779@qq.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]
|
2021-02-13 15:08:43 +00:00
|
|
|
# features that docs.rs will build with
|
|
|
|
features = ["openssl", "rustls", "compress", "cookies"]
|
2019-03-27 01:46:06 +00:00
|
|
|
|
2019-03-26 04:58:01 +00:00
|
|
|
[features]
|
2021-02-13 15:08:43 +00:00
|
|
|
default = ["compress", "cookies"]
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
# openssl
|
2021-02-07 03:54:58 +00:00
|
|
|
openssl = ["tls-openssl", "actix-http/openssl"]
|
2019-03-26 04:58:01 +00:00
|
|
|
|
2019-07-31 20:02:56 +00:00
|
|
|
# rustls
|
2021-02-07 03:54:58 +00:00
|
|
|
rustls = ["tls-rustls", "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
|
|
|
|
2021-02-13 15:08:43 +00:00
|
|
|
# cookie parsing and cookie jar
|
|
|
|
cookies = ["actix-http/cookies"]
|
|
|
|
|
2021-02-09 10:41:20 +00:00
|
|
|
# trust-dns as dns resolver
|
|
|
|
trust-dns = ["actix-http/trust-dns"]
|
|
|
|
|
2019-03-26 04:58:01 +00:00
|
|
|
[dependencies]
|
2021-01-03 23:47:04 +00:00
|
|
|
actix-codec = "0.4.0-beta.1"
|
2021-02-07 01:00:40 +00:00
|
|
|
actix-service = "2.0.0-beta.4"
|
2021-04-02 08:27:11 +00:00
|
|
|
actix-http = "3.0.0-beta.5"
|
2021-02-28 18:17:08 +00:00
|
|
|
actix-rt = { version = "2.1", default-features = false }
|
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"
|
2021-01-07 20:02:08 +00:00
|
|
|
derive_more = "0.99.5"
|
2021-01-03 23:47:04 +00:00
|
|
|
futures-core = { version = "0.3.7", default-features = false }
|
2021-03-07 19:29:02 +00:00
|
|
|
itoa = "0.4"
|
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"
|
2021-02-28 18:17:08 +00:00
|
|
|
pin-project-lite = "0.2"
|
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"
|
2021-02-07 03:54:58 +00:00
|
|
|
tls-openssl = { version = "0.10.9", package = "openssl", optional = true }
|
|
|
|
tls-rustls = { version = "0.19.0", package = "rustls", optional = true, features = ["dangerous_configuration"] }
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-04-02 08:37:51 +00:00
|
|
|
actix-web = { version = "4.0.0-beta.5", features = ["openssl"] }
|
2021-04-02 08:27:11 +00:00
|
|
|
actix-http = { version = "3.0.0-beta.5", features = ["openssl"] }
|
2021-03-09 23:35:42 +00:00
|
|
|
actix-http-test = { version = "3.0.0-beta.3", features = ["openssl"] }
|
2021-04-01 14:26:13 +00:00
|
|
|
actix-utils = "3.0.0-beta.4"
|
2021-02-07 01:00:40 +00:00
|
|
|
actix-server = "2.0.0-beta.3"
|
2021-03-29 12:45:48 +00:00
|
|
|
actix-tls = { version = "3.0.0-beta.5", features = ["openssl", "rustls"] }
|
2021-04-02 07:26:59 +00:00
|
|
|
actix-test = { version = "0.0.1", features = ["openssl", "rustls"] }
|
2021-01-17 05:19:32 +00:00
|
|
|
|
2019-12-20 07:50:07 +00:00
|
|
|
brotli2 = "0.3.2"
|
2021-03-07 19:29:02 +00:00
|
|
|
env_logger = "0.8"
|
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 }
|
2021-01-17 05:19:32 +00:00
|
|
|
rcgen = "0.8"
|
2019-12-12 09:08:08 +00:00
|
|
|
webpki = "0.21"
|
2021-04-02 07:26:59 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "client"
|
|
|
|
required-features = ["rustls"]
|