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