mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-27 21:22:57 +01:00
60 lines
1.7 KiB
TOML
60 lines
1.7 KiB
TOML
[package]
|
|
name = "actix-connect"
|
|
version = "1.0.0-alpha.1"
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
description = "Actix connect - 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-connect/"
|
|
categories = ["network-programming", "asynchronous"]
|
|
license = "MIT/Apache-2.0"
|
|
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
|
edition = "2018"
|
|
workspace = ".."
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["openssl", "rustls", "uri"]
|
|
|
|
[lib]
|
|
name = "actix_connect"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
default = ["uri"]
|
|
|
|
# openssl
|
|
openssl = ["open-ssl", "tokio-openssl"]
|
|
|
|
# rustls
|
|
# rustls = ["rust-tls", "tokio-rustls", "webpki"]
|
|
|
|
# support http::Uri as connect address
|
|
uri = ["http"]
|
|
|
|
[dependencies]
|
|
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"
|
|
derive_more = "0.99"
|
|
either = "1.5.2"
|
|
futures = "0.3.1"
|
|
http = { version = "0.1.17", optional = true }
|
|
log = "0.4"
|
|
trust-dns-resolver = { version="0.18.0-alpha.1", default-features = false }
|
|
|
|
# openssl
|
|
open-ssl = { version="0.10", package = "openssl", optional = true }
|
|
tokio-openssl = { version = "0.4.0-alpha.6", optional = true }
|
|
|
|
# rustls
|
|
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 }
|
|
webpki = { version = "0.21", optional = true }
|
|
|
|
[dev-dependencies]
|
|
bytes = "0.4"
|
|
actix-testing = { version="0.3.0-alpha.1" }
|