mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-28 03:02:58 +01:00
48 lines
1.1 KiB
TOML
48 lines
1.1 KiB
TOML
|
[package]
|
||
|
name = "actix-connector"
|
||
|
version = "0.1.0"
|
||
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||
|
description = "Actix Connector - tcp connector service"
|
||
|
readme = "README.md"
|
||
|
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"
|
||
|
workspace = "../"
|
||
|
|
||
|
[package.metadata.docs.rs]
|
||
|
features = ["ssl"]
|
||
|
|
||
|
[lib]
|
||
|
name = "actix_connector"
|
||
|
path = "src/lib.rs"
|
||
|
|
||
|
[features]
|
||
|
default = []
|
||
|
|
||
|
# openssl
|
||
|
ssl = ["openssl", "tokio-openssl"]
|
||
|
|
||
|
[dependencies]
|
||
|
actix-service = "0.1.1"
|
||
|
actix-codec = { path = "../actix-codec" }
|
||
|
actix-rt = { path = "../actix-rt" }
|
||
|
futures = "0.1"
|
||
|
tokio-tcp = "0.1"
|
||
|
|
||
|
trust-dns-proto = "^0.5.0"
|
||
|
trust-dns-resolver = "^0.10.0"
|
||
|
|
||
|
# openssl
|
||
|
openssl = { version="0.10", optional = true }
|
||
|
tokio-openssl = { version="0.3", optional = true }
|
||
|
|
||
|
[profile.release]
|
||
|
lto = true
|
||
|
opt-level = 3
|
||
|
codegen-units = 1
|