2018-12-10 17:42:31 +01:00
|
|
|
[package]
|
2019-03-13 20:40:11 +01:00
|
|
|
name = "actix-connect"
|
2019-11-14 13:38:24 +01:00
|
|
|
version = "1.0.0-alpha.1"
|
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"
|
|
|
|
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-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-11-14 13:38: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]
|
2019-11-14 13:38:24 +01:00
|
|
|
actix-service = "1.0.0-alpha.1"
|
|
|
|
actix-codec = "0.2.0-alpha.1"
|
|
|
|
actix-utils = "0.5.0-alpha.1"
|
|
|
|
actix-rt = "1.0.0-alpha.1"
|
2019-11-25 12:54:47 +01:00
|
|
|
derive_more = "0.99"
|
2019-04-20 02:43:52 +02:00
|
|
|
either = "1.5.2"
|
2019-11-14 13:38:24 +01:00
|
|
|
futures = "0.3.1"
|
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"
|
2019-11-14 13:38:24 +01:00
|
|
|
tokio-net = "=0.2.0-alpha.6"
|
|
|
|
trust-dns-resolver = { version="0.18.0-alpha.1", default-features = false }
|
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 }
|
|
|
|
tokio-openssl = { version = "0.4.0-alpha.6", optional = true }
|
2019-03-14 06:51:31 +01:00
|
|
|
|
2019-11-21 14:58:55 +01:00
|
|
|
# rustls
|
2019-11-14 13:38:24 +01:00
|
|
|
rust-tls = { version = "0.16.0", package = "rustls", optional = true }
|
|
|
|
# tokio-rustls = { version = "0.10.0", optional = true }
|
|
|
|
tokio-rustls = { git = "https://github.com/quininer/tokio-rustls.git", branch = "tokio-0.2", 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]
|
|
|
|
bytes = "0.4"
|
2019-11-14 13:38:24 +01:00
|
|
|
actix-testing = { version="0.3.0-alpha.1" }
|
|
|
|
actix-server-config = "0.3.0-alpha.1"
|