2018-12-10 08:42:31 -08:00
|
|
|
[package]
|
2019-03-13 12:40:11 -07:00
|
|
|
name = "actix-connect"
|
2020-08-17 23:39:17 +09:00
|
|
|
version = "2.0.0-alpha.4"
|
2018-12-10 08:42:31 -08:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2019-11-14 18:38:24 +06:00
|
|
|
description = "Actix connect - tcp connector service"
|
2018-12-10 08:42:31 -08:00
|
|
|
keywords = ["network", "framework", "async", "futures"]
|
|
|
|
homepage = "https://actix.rs"
|
|
|
|
repository = "https://github.com/actix/actix-net.git"
|
2019-03-14 22:39:49 -07:00
|
|
|
documentation = "https://docs.rs/actix-connect/"
|
2018-12-10 08:42:31 -08:00
|
|
|
categories = ["network-programming", "asynchronous"]
|
2020-07-14 19:11:30 +09:00
|
|
|
license = "MIT OR Apache-2.0"
|
2018-12-10 08:42:31 -08:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2019-11-14 18:38:24 +06:00
|
|
|
features = ["openssl", "rustls", "uri"]
|
2018-12-10 08:42:31 -08:00
|
|
|
|
|
|
|
[lib]
|
2019-03-13 14:38:33 -07:00
|
|
|
name = "actix_connect"
|
2018-12-10 08:42:31 -08:00
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[features]
|
2019-03-14 11:15:32 -07:00
|
|
|
default = ["uri"]
|
2018-12-10 08:42:31 -08:00
|
|
|
|
|
|
|
# openssl
|
2019-11-14 18:38:24 +06:00
|
|
|
openssl = ["open-ssl", "tokio-openssl"]
|
2018-12-10 08:42:31 -08:00
|
|
|
|
2019-11-21 19:58:55 +06:00
|
|
|
# rustls
|
2019-12-05 16:40:24 +06:00
|
|
|
rustls = ["rust-tls", "tokio-rustls", "webpki"]
|
2019-07-24 11:14:26 +03:00
|
|
|
|
2019-03-14 11:15:32 -07:00
|
|
|
# support http::Uri as connect address
|
|
|
|
uri = ["http"]
|
|
|
|
|
2018-12-10 08:42:31 -08:00
|
|
|
[dependencies]
|
2020-01-15 11:58:06 -08:00
|
|
|
actix-service = "1.0.3"
|
2019-12-11 10:23:01 +06:00
|
|
|
actix-codec = "0.2.0"
|
2020-01-15 11:58:06 -08:00
|
|
|
actix-utils = "1.0.6"
|
2019-12-11 11:28:09 +06:00
|
|
|
actix-rt = "1.0.0"
|
2019-12-02 22:30:09 +06:00
|
|
|
derive_more = "0.99.2"
|
2020-01-15 11:58:06 -08:00
|
|
|
either = "1.5.3"
|
2020-03-12 04:22:38 +09:00
|
|
|
futures-util = { version = "0.3.4", default-features = false }
|
2019-12-05 16:40:24 +06:00
|
|
|
http = { version = "0.2.0", optional = true }
|
2019-03-13 12:40:11 -07:00
|
|
|
log = "0.4"
|
2020-02-25 23:44:59 -03:00
|
|
|
trust-dns-proto = { version = "0.19", default-features = false, features = ["tokio-runtime"] }
|
|
|
|
trust-dns-resolver = { version = "0.19", default-features = false, features = ["tokio-runtime", "system-config"] }
|
2018-12-10 08:42:31 -08:00
|
|
|
|
|
|
|
# openssl
|
2019-11-14 18:38:24 +06:00
|
|
|
open-ssl = { version="0.10", package = "openssl", optional = true }
|
2019-12-05 16:40:24 +06:00
|
|
|
tokio-openssl = { version = "0.4.0", optional = true }
|
2019-03-13 22:51:31 -07:00
|
|
|
|
2019-11-21 19:58:55 +06:00
|
|
|
# rustls
|
2020-07-14 19:14:06 +09:00
|
|
|
rust-tls = { version = "0.18.0", package = "rustls", optional = true }
|
|
|
|
tokio-rustls = { version = "0.14.0", optional = true }
|
2019-10-03 14:32:32 -04:00
|
|
|
webpki = { version = "0.21", optional = true }
|
2019-07-24 11:14:26 +03:00
|
|
|
|
2019-03-13 22:51:31 -07:00
|
|
|
[dev-dependencies]
|
2019-12-15 13:04:26 +06:00
|
|
|
bytes = "0.5.3"
|
2019-12-11 14:47:30 +06:00
|
|
|
actix-testing = { version="1.0.0" }
|