2018-12-10 17:42:31 +01:00
|
|
|
[package]
|
2019-03-13 20:40:11 +01:00
|
|
|
name = "actix-connect"
|
|
|
|
version = "0.1.0"
|
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"
|
|
|
|
documentation = "https://docs.rs/actix-net/"
|
|
|
|
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-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-03-13 20:40:11 +01:00
|
|
|
actix-service = "0.3.4"
|
2019-03-09 23:23:08 +01:00
|
|
|
actix-codec = "0.1.1"
|
2019-03-13 20:40:11 +01:00
|
|
|
actix-utils = "0.3.4"
|
|
|
|
derive_more = "0.14.0"
|
|
|
|
either = "1.5.1"
|
|
|
|
futures = "0.1.25"
|
2019-03-14 19:15:32 +01:00
|
|
|
http = { version = "0.1.16", 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-02-02 04:53:13 +01:00
|
|
|
trust-dns-resolver = { version="0.11.0-alpha.2", 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
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
bytes = "0.4"
|
|
|
|
actix-connect = { path=".", features=["ssl"] }
|
|
|
|
actix-test-server = { version="0.2.0", features=["ssl"] }
|
|
|
|
actix-server-config = "0.1.0"
|
|
|
|
actix-utils = "0.3.4"
|
|
|
|
tokio-tcp = "0.1"
|