1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-12-18 04:33:12 +01:00
actix-net/Cargo.toml

79 lines
1.8 KiB
TOML
Raw Normal View History

2018-08-19 19:47:04 +02:00
[package]
name = "actix-net"
version = "0.1.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
2018-08-22 06:11:16 +02:00
description = "Actix net - framework for the compisible network services for Rust"
2018-08-19 19:47:04 +02:00
readme = "README.md"
2018-08-22 06:11:16 +02:00
keywords = ["network", "framework", "async", "futures"]
2018-08-19 19:47:04 +02:00
homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-net.git"
documentation = "https://actix.rs/api/actix-net/stable/actix_web/"
2018-08-22 06:11:16 +02:00
categories = ["network-programming", "asynchronous"]
2018-08-19 19:47:04 +02:00
license = "MIT/Apache-2.0"
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
[package.metadata.docs.rs]
features = ["ssl", "tls", "rust-tls"]
[badges]
travis-ci = { repository = "actix/actix-net", branch = "master" }
appveyor = { repository = "fafhrd91/actix-web-hdy9d" }
codecov = { repository = "actix/actix-net", branch = "master", service = "github" }
[lib]
name = "actix_net"
path = "src/lib.rs"
[features]
default = []
# tls
tls = ["native-tls"]
# openssl
ssl = ["openssl", "tokio-openssl"]
# rustls
rust-tls = ["rustls", "tokio-rustls", "webpki", "webpki-roots"]
[dependencies]
actix = "0.7.0"
log = "0.4"
num_cpus = "1.0"
# io
mio = "^0.6.13"
net2 = "0.2"
bytes = "0.4"
futures = "0.1"
slab = "0.4"
2018-08-24 05:47:41 +02:00
tokio = "0.1"
2018-09-13 03:47:39 +02:00
tokio-codec = "0.1"
2018-08-19 19:47:04 +02:00
tokio-io = "0.1"
tokio-tcp = "0.1"
tokio-timer = "0.2"
tokio-reactor = "0.1"
2018-09-08 18:36:38 +02:00
tokio-current-thread = "0.1"
2018-08-19 19:47:04 +02:00
tower-service = "0.1"
2018-09-08 18:36:38 +02:00
2018-08-24 05:47:41 +02:00
trust-dns-resolver = "0.10.0-alpha.2"
2018-08-19 19:47:04 +02:00
# native-tls
native-tls = { version="0.2", optional = true }
# openssl
openssl = { version="0.10", optional = true }
tokio-openssl = { version="0.2", optional = true }
#rustls
rustls = { version = "^0.13.1", optional = true }
tokio-rustls = { version = "^0.7.2", optional = true }
webpki = { version = "0.18", optional = true }
webpki-roots = { version = "0.15", optional = true }
[profile.release]
lto = true
opt-level = 3
codegen-units = 1