2019-03-26 04:58:01 +00:00
|
|
|
[package]
|
|
|
|
name = "awc"
|
2019-07-31 20:02:56 +00:00
|
|
|
version = "0.2.3"
|
2019-03-26 04:58:01 +00:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2019-03-28 20:46:26 +00:00
|
|
|
description = "Actix http client."
|
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/"
|
2019-04-30 03:47:21 +00:00
|
|
|
categories = ["network-programming", "asynchronous",
|
|
|
|
"web-programming::http-client",
|
|
|
|
"web-programming::websocket"]
|
2019-03-26 04:58:01 +00:00
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
|
|
|
edition = "2018"
|
2019-04-30 03:47:21 +00:00
|
|
|
workspace = ".."
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "awc"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2019-03-27 01:46:06 +00:00
|
|
|
[package.metadata.docs.rs]
|
2019-03-30 04:13:39 +00:00
|
|
|
features = ["ssl", "brotli", "flate2-zlib"]
|
2019-03-27 01:46:06 +00:00
|
|
|
|
2019-03-26 04:58:01 +00:00
|
|
|
[features]
|
2019-03-30 04:13:39 +00:00
|
|
|
default = ["brotli", "flate2-zlib"]
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
# openssl
|
|
|
|
ssl = ["openssl", "actix-http/ssl"]
|
|
|
|
|
2019-07-31 20:02:56 +00:00
|
|
|
# rustls
|
|
|
|
rust-tls = ["rustls", "actix-http/rust-tls"]
|
|
|
|
|
2019-03-27 01:46:06 +00:00
|
|
|
# brotli encoding, requires c compiler
|
2019-03-27 03:45:00 +00:00
|
|
|
brotli = ["actix-http/brotli"]
|
2019-03-27 01:46:06 +00:00
|
|
|
|
|
|
|
# miniz-sys backend for flate2 crate
|
|
|
|
flate2-zlib = ["actix-http/flate2-zlib"]
|
|
|
|
|
|
|
|
# rust backend for flate2 crate
|
|
|
|
flate2-rust = ["actix-http/flate2-rust"]
|
|
|
|
|
2019-03-26 04:58:01 +00:00
|
|
|
[dependencies]
|
2019-04-12 21:00:45 +00:00
|
|
|
actix-codec = "0.1.2"
|
2019-06-16 16:10:22 +00:00
|
|
|
actix-service = "0.4.1"
|
2019-07-31 20:02:56 +00:00
|
|
|
actix-http = "0.2.8"
|
2019-03-27 03:57:06 +00:00
|
|
|
base64 = "0.10.1"
|
2019-03-26 04:58:01 +00:00
|
|
|
bytes = "0.4"
|
2019-06-16 16:10:22 +00:00
|
|
|
derive_more = "0.15.0"
|
2019-03-28 20:46:26 +00:00
|
|
|
futures = "0.1.25"
|
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"
|
2019-03-29 05:33:41 +00:00
|
|
|
tokio-timer = "0.2.8"
|
2019-03-26 04:58:01 +00:00
|
|
|
openssl = { version="0.10", optional = true }
|
2019-07-31 20:02:56 +00:00
|
|
|
rustls = { version = "0.15.2", optional = true }
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2019-03-28 20:46:26 +00:00
|
|
|
actix-rt = "0.2.2"
|
2019-06-16 16:10:22 +00:00
|
|
|
actix-web = { version = "1.0.0", features=["ssl"] }
|
|
|
|
actix-http = { version = "0.2.4", features=["ssl"] }
|
2019-05-12 17:18:02 +00:00
|
|
|
actix-http-test = { version = "0.2.0", features=["ssl"] }
|
2019-06-05 02:13:43 +00:00
|
|
|
actix-utils = "0.4.1"
|
2019-07-31 20:02:56 +00:00
|
|
|
actix-server = { version = "0.6.0", features=["ssl", "rust-tls"] }
|
2019-03-28 20:46:26 +00:00
|
|
|
brotli2 = { version="0.3.2" }
|
|
|
|
flate2 = { version="1.0.2" }
|
2019-03-27 03:45:00 +00:00
|
|
|
env_logger = "0.6"
|
2019-07-01 03:37:03 +00:00
|
|
|
rand = "0.7"
|
|
|
|
tokio-tcp = "0.1"
|
2019-07-31 20:02:56 +00:00
|
|
|
webpki = "0.19"
|
|
|
|
rustls = { version = "0.15.2", features = ["dangerous_configuration"] }
|