2019-03-26 04:58:01 +00:00
|
|
|
[package]
|
|
|
|
name = "awc"
|
2019-03-26 19:50:51 +00:00
|
|
|
version = "0.1.0-alpha.1"
|
2019-03-26 04:58:01 +00:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
|
|
description = "Actix web client."
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["http", "web", "framework", "async", "futures"]
|
|
|
|
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 01:46:06 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["ssl", "brotli", "flate2-zlib", "cookies"]
|
|
|
|
|
2019-03-26 04:58:01 +00:00
|
|
|
[features]
|
2019-03-27 01:46:06 +00:00
|
|
|
default = ["cookies", "brotli", "flate2-zlib"]
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
# openssl
|
|
|
|
ssl = ["openssl", "actix-http/ssl"]
|
|
|
|
|
|
|
|
# cookies integration
|
|
|
|
cookies = ["cookie", "actix-http/cookies"]
|
|
|
|
|
2019-03-27 01:46:06 +00:00
|
|
|
# brotli encoding, requires c compiler
|
|
|
|
brotli = ["actix-http/brotli2"]
|
|
|
|
|
|
|
|
# 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]
|
|
|
|
actix-service = "0.3.4"
|
2019-03-26 19:31:51 +00:00
|
|
|
actix-http = { path = "../actix-http/" }
|
2019-03-26 04:58:01 +00:00
|
|
|
bytes = "0.4"
|
|
|
|
futures = "0.1"
|
|
|
|
log =" 0.4"
|
|
|
|
percent-encoding = "1.0"
|
|
|
|
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]
|
|
|
|
env_logger = "0.6"
|
|
|
|
mime = "0.3"
|
|
|
|
actix-rt = "0.2.1"
|
2019-03-26 19:31:51 +00:00
|
|
|
actix-http = { path = "../actix-http/", features=["ssl"] }
|
2019-03-26 19:50:51 +00:00
|
|
|
actix-http-test = { path = "../test-server/", features=["ssl"] }
|