2018-12-10 17:42:31 +01:00
|
|
|
[package]
|
2019-03-13 20:40:11 +01:00
|
|
|
name = "actix-connect"
|
2020-09-02 23:14:07 +02:00
|
|
|
version = "2.0.0"
|
2018-12-10 17:42:31 +01:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2020-09-02 23:14:07 +02:00
|
|
|
description = "TCP connector service for Actix ecosystem."
|
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"]
|
2020-07-14 12:11:30 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2018-12-10 17:42:31 +01:00
|
|
|
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-09-02 23:14:07 +02:00
|
|
|
actix-service = "1.0.6"
|
2020-08-24 10:18:37 +02:00
|
|
|
actix-codec = "0.3.0"
|
|
|
|
actix-utils = "2.0.0"
|
2020-09-02 23:14:07 +02:00
|
|
|
actix-rt = "1.1.1"
|
|
|
|
|
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"
|
2020-03-11 20:22:38 +01:00
|
|
|
futures-util = { version = "0.3.4", default-features = false }
|
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
|
2020-09-02 23:14:07 +02:00
|
|
|
open-ssl = { package = "openssl", version = "0.10", 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-09-02 23:14:07 +02:00
|
|
|
rust-tls = { package = "rustls", version = "0.18.0", optional = true }
|
2020-07-14 12:14:06 +02:00
|
|
|
tokio-rustls = { version = "0.14.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"
|
2020-09-02 23:14:07 +02:00
|
|
|
actix-testing = "1.0.0"
|