1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-12-05 02:11:56 +01:00
actix-net/actix-server/Cargo.toml

70 lines
1.5 KiB
TOML
Raw Normal View History

2018-12-10 07:14:29 +01:00
[package]
name = "actix-server"
version = "0.2.0"
2018-12-10 07:14:29 +01:00
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix server - General purpose tcp server"
keywords = ["network", "framework", "async", "futures"]
homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-net.git"
documentation = "https://docs.rs/actix-server/"
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", "tls", "rust-tls"]
[lib]
name = "actix_server"
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]
2019-02-02 05:03:31 +01:00
actix-service = "0.2.0"
2018-12-11 17:28:44 +01:00
actix-rt = "0.1.0"
2018-12-10 07:14:29 +01:00
log = "0.4"
num_cpus = "1.0"
# io
mio = "^0.6.13"
net2 = "0.2"
bytes = "0.4"
futures = "0.1"
slab = "0.4"
tokio-io = "0.1"
tokio-tcp = "0.1"
2019-01-26 22:15:17 +01:00
tokio-timer = "0.2.8"
2018-12-10 07:14:29 +01:00
tokio-reactor = "0.1"
tokio-signal = "0.2"
# native-tls
native-tls = { version="0.2", optional = true }
# openssl
openssl = { version="0.10", optional = true }
tokio-openssl = { version="0.3", optional = true }
#rustls
2019-01-26 22:15:17 +01:00
rustls = { version = "^0.15", optional = true }
tokio-rustls = { version = "^0.9", optional = true }
webpki = { version = "0.19", optional = true }
webpki-roots = { version = "0.16", optional = true }
2018-12-10 07:14:29 +01:00
[dev-dependencies]
2019-01-26 22:15:17 +01:00
env_logger = "0.6"
2018-12-12 23:24:46 +01:00
actix-codec = "0.1.0"