2019-03-26 05:58:01 +01:00
|
|
|
[package]
|
|
|
|
name = "awc"
|
2019-03-26 20:50:51 +01:00
|
|
|
version = "0.1.0-alpha.1"
|
2019-03-26 05:58:01 +01:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2019-03-28 21:46:26 +01:00
|
|
|
description = "Actix http client."
|
2019-03-26 05:58:01 +01:00
|
|
|
readme = "README.md"
|
2019-03-28 21:46:26 +01:00
|
|
|
keywords = ["actix", "http", "framework", "async", "web"]
|
2019-03-26 05:58:01 +01:00
|
|
|
homepage = "https://actix.rs"
|
|
|
|
repository = "https://github.com/actix/actix-web.git"
|
|
|
|
documentation = "https://docs.rs/awc/"
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
|
|
|
workspace = ".."
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "awc"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2019-03-27 02:46:06 +01:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["ssl", "brotli", "flate2-zlib", "cookies"]
|
|
|
|
|
2019-03-26 05:58:01 +01:00
|
|
|
[features]
|
2019-03-27 02:46:06 +01:00
|
|
|
default = ["cookies", "brotli", "flate2-zlib"]
|
2019-03-26 05:58:01 +01:00
|
|
|
|
|
|
|
# openssl
|
|
|
|
ssl = ["openssl", "actix-http/ssl"]
|
|
|
|
|
|
|
|
# cookies integration
|
|
|
|
cookies = ["cookie", "actix-http/cookies"]
|
|
|
|
|
2019-03-27 02:46:06 +01:00
|
|
|
# brotli encoding, requires c compiler
|
2019-03-27 04:45:00 +01:00
|
|
|
brotli = ["actix-http/brotli"]
|
2019-03-27 02:46:06 +01: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 05:58:01 +01:00
|
|
|
[dependencies]
|
2019-03-28 02:53:19 +01:00
|
|
|
actix-codec = "0.1.1"
|
2019-03-26 05:58:01 +01:00
|
|
|
actix-service = "0.3.4"
|
2019-03-28 22:10:03 +01:00
|
|
|
actix-http = { path = "../actix-http" }
|
2019-03-27 04:57:06 +01:00
|
|
|
base64 = "0.10.1"
|
2019-03-26 05:58:01 +01:00
|
|
|
bytes = "0.4"
|
2019-03-28 02:53:19 +01:00
|
|
|
derive_more = "0.14"
|
2019-03-28 21:46:26 +01:00
|
|
|
futures = "0.1.25"
|
2019-03-26 05:58:01 +01:00
|
|
|
log =" 0.4"
|
|
|
|
percent-encoding = "1.0"
|
2019-03-28 02:53:19 +01:00
|
|
|
rand = "0.6"
|
2019-03-26 05:58:01 +01:00
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde_urlencoded = "0.5.3"
|
|
|
|
|
|
|
|
cookie = { version="0.11", features=["percent-encode"], optional = true }
|
|
|
|
openssl = { version="0.10", optional = true }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2019-03-28 21:46:26 +01:00
|
|
|
actix-rt = "0.2.2"
|
2019-03-28 22:10:03 +01:00
|
|
|
actix-web = { path = "..", features=["ssl"] }
|
|
|
|
actix-http = { path = "../actix-http", features=["ssl"] }
|
|
|
|
actix-http-test = { path = "../test-server", features=["ssl"] }
|
2019-03-28 02:53:19 +01:00
|
|
|
actix-utils = "0.3.4"
|
|
|
|
actix-server = { version = "0.4.0", features=["ssl"] }
|
2019-03-28 21:46:26 +01:00
|
|
|
brotli2 = { version="0.3.2" }
|
|
|
|
flate2 = { version="1.0.2" }
|
2019-03-27 04:45:00 +01:00
|
|
|
env_logger = "0.6"
|
|
|
|
mime = "0.3"
|
|
|
|
rand = "0.6"
|
2019-03-28 02:53:19 +01:00
|
|
|
tokio-tcp = "0.1"
|