2018-12-10 17:42:31 +01:00
|
|
|
[package]
|
2019-03-13 20:40:11 +01:00
|
|
|
name = "actix-connect"
|
2019-08-05 18:52:50 +02:00
|
|
|
version = "0.2.3"
|
2018-12-10 17:42:31 +01:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
|
|
description = "Actix Connector - tcp connector service"
|
|
|
|
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"
|
|
|
|
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
|
|
|
edition = "2018"
|
2019-03-02 23:47:52 +01:00
|
|
|
workspace = ".."
|
2018-12-10 17:42:31 +01:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2019-03-14 19:15:32 +01:00
|
|
|
features = ["ssl", "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
|
|
|
|
ssl = ["openssl", "tokio-openssl"]
|
|
|
|
|
2019-07-24 10:14:26 +02:00
|
|
|
#rustls
|
|
|
|
rust-tls = ["rustls", "tokio-rustls", "webpki"]
|
|
|
|
|
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]
|
2019-05-12 17:15:18 +02:00
|
|
|
actix-service = "0.4.0"
|
2019-04-11 18:57:21 +02:00
|
|
|
actix-codec = "0.1.2"
|
2019-05-12 17:15:18 +02:00
|
|
|
actix-utils = "0.4.0"
|
2019-06-18 10:23:50 +02:00
|
|
|
derive_more = "0.15"
|
2019-04-20 02:43:52 +02:00
|
|
|
either = "1.5.2"
|
2019-03-13 20:40:11 +01:00
|
|
|
futures = "0.1.25"
|
2019-04-20 02:43:52 +02:00
|
|
|
http = { version = "0.1.17", optional = true }
|
2019-03-13 20:40:11 +01:00
|
|
|
log = "0.4"
|
|
|
|
tokio-tcp = "0.1.3"
|
|
|
|
tokio-current-thread = "0.1.5"
|
2019-04-15 05:46:36 +02:00
|
|
|
trust-dns-resolver = { version="0.11.0", default-features = false }
|
2018-12-10 17:42:31 +01:00
|
|
|
|
|
|
|
# openssl
|
|
|
|
openssl = { version="0.10", optional = true }
|
|
|
|
tokio-openssl = { version="0.3", optional = true }
|
2019-03-14 06:51:31 +01:00
|
|
|
|
2019-07-24 10:14:26 +02:00
|
|
|
#rustls
|
|
|
|
rustls = { version = "0.15.2", optional = true }
|
|
|
|
tokio-rustls = { version = "0.9.1", optional = true }
|
|
|
|
webpki = { version = "0.19", optional = true }
|
|
|
|
|
2019-03-14 06:51:31 +01:00
|
|
|
[dev-dependencies]
|
|
|
|
bytes = "0.4"
|
2019-05-12 17:15:18 +02:00
|
|
|
actix-test-server = { version="0.2.2", features=["ssl"] }
|
2019-03-14 06:51:31 +01:00
|
|
|
actix-server-config = "0.1.0"
|