1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-04 20:31:55 +01:00
actix-web/awc/Cargo.toml

118 lines
3.4 KiB
TOML
Raw Normal View History

2019-03-26 05:58:01 +01:00
[package]
name = "awc"
2022-03-08 17:51:40 +01:00
version = "3.0.0"
2021-04-02 10:40:36 +02:00
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"fakeshadow <24548779@qq.com>",
]
2022-03-06 00:15:33 +01:00
description = "Async HTTP and WebSocket client library"
2019-03-28 21:46:26 +01:00
keywords = ["actix", "http", "framework", "async", "web"]
2020-07-22 02:13:10 +02:00
categories = [
"network-programming",
"asynchronous",
"web-programming::http-client",
"web-programming::websocket",
]
2021-04-17 16:30:31 +02:00
homepage = "https://actix.rs"
2021-10-20 23:32:05 +02:00
repository = "https://github.com/actix/actix-web.git"
license = "MIT OR Apache-2.0"
2019-03-26 05:58:01 +01:00
edition = "2018"
[lib]
name = "awc"
path = "src/lib.rs"
2019-03-27 02:46:06 +01:00
[package.metadata.docs.rs]
2021-02-13 16:08:43 +01:00
# features that docs.rs will build with
features = ["openssl", "rustls", "compress-brotli", "compress-gzip", "compress-zstd", "cookies"]
2019-03-27 02:46:06 +01:00
2019-03-26 05:58:01 +01:00
[features]
default = ["compress-brotli", "compress-gzip", "compress-zstd", "cookies"]
2019-03-26 05:58:01 +01:00
# openssl
openssl = ["tls-openssl", "actix-tls/openssl"]
2019-03-26 05:58:01 +01:00
# rustls
rustls = ["tls-rustls", "actix-tls/rustls"]
# Brotli algorithm content-encoding support
compress-brotli = ["actix-http/compress-brotli", "__compress"]
# Gzip and deflate algorithms content-encoding support
compress-gzip = ["actix-http/compress-gzip", "__compress"]
# Zstd algorithm content-encoding support
compress-zstd = ["actix-http/compress-zstd", "__compress"]
2019-03-27 02:46:06 +01:00
2021-02-13 16:08:43 +01:00
# cookie parsing and cookie jar
cookies = ["cookie"]
2021-02-13 16:08:43 +01:00
# trust-dns as dns resolver
trust-dns = ["trust-dns-resolver"]
# Internal (PRIVATE!) features used to aid testing and cheking feature status.
# Don't rely on these whatsoever. They may disappear at anytime.
__compress = []
# Enable dangerous feature for testing and local network usage:
# - HTTP/2 over TCP(No Tls).
# DO NOT enable this over any internet use case.
dangerous-h2c = []
2019-03-26 05:58:01 +01:00
[dependencies]
2022-02-15 21:49:10 +01:00
actix-codec = "0.5"
2022-03-08 17:51:40 +01:00
actix-service = "2"
actix-http = { version = "3", features = ["http2", "ws"] }
2021-02-28 19:17:08 +01:00
actix-rt = { version = "2.1", default-features = false }
2022-02-15 21:49:10 +01:00
actix-tls = { version = "3", features = ["connect", "uri"] }
2022-03-08 17:51:40 +01:00
actix-utils = "3"
ahash = "0.7"
2020-10-19 19:24:22 +02:00
base64 = "0.13"
bytes = "1"
cfg-if = "1"
2021-01-07 21:02:08 +01:00
derive_more = "0.99.5"
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
futures-util = { version = "0.3.7", default-features = false, features = ["alloc", "sink"] }
2021-12-10 23:13:12 +01:00
h2 = "0.3.9"
2021-11-15 05:03:33 +01:00
http = "0.2.5"
2021-12-22 09:34:48 +01:00
itoa = "1"
2019-03-26 05:58:01 +01:00
log =" 0.4"
2019-04-01 20:51:18 +02:00
mime = "0.3"
2019-08-13 19:48:11 +02:00
percent-encoding = "2.1"
2021-02-28 19:17:08 +01:00
pin-project-lite = "0.2"
2020-12-23 00:45:31 +01:00
rand = "0.8"
2019-03-26 05:58:01 +01:00
serde = "1.0"
serde_json = "1.0"
serde_urlencoded = "0.7"
tokio = { version = "1.8.4", features = ["sync"] }
cookie = { version = "0.16", features = ["percent-encode"], optional = true }
tls-openssl = { package = "openssl", version = "0.10.9", optional = true }
tls-rustls = { package = "rustls", version = "0.20.0", optional = true, features = ["dangerous_configuration"] }
2019-03-26 05:58:01 +01:00
2022-07-01 11:21:46 +02:00
trust-dns-resolver = { version = "0.21", optional = true }
2019-03-26 05:58:01 +01:00
[dev-dependencies]
2022-03-08 17:51:40 +01:00
actix-http = { version = "3", features = ["openssl"] }
actix-http-test = { version = "3.0.0-beta.13", features = ["openssl"] }
2022-01-19 17:58:11 +01:00
actix-server = "2"
actix-test = { version = "0.1.0-beta.13", features = ["openssl", "rustls"] }
2022-02-15 21:49:10 +01:00
actix-tls = { version = "3", features = ["openssl", "rustls"] }
2022-03-08 17:51:40 +01:00
actix-utils = "3"
actix-web = { version = "4", features = ["openssl"] }
2021-01-17 06:19:32 +01:00
2022-01-15 15:03:16 +01:00
brotli = "3.3.3"
2022-07-01 11:19:28 +02:00
const-str = "0.4"
2021-11-17 00:07:08 +01:00
env_logger = "0.9"
flate2 = "1.0.13"
futures-util = { version = "0.3.7", default-features = false }
2021-12-04 20:40:47 +01:00
static_assertions = "1.1"
2022-07-01 11:19:28 +02:00
rcgen = "0.9"
rustls-pemfile = "1"
2022-01-19 22:36:14 +01:00
tokio = { version = "1.13.1", features = ["rt-multi-thread", "macros"] }
zstd = "0.11"
[[example]]
name = "client"
required-features = ["rustls"]