2018-12-10 07:14:29 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-server"
|
2019-10-04 10:36:23 +02:00
|
|
|
version = "0.7.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"
|
2019-03-02 23:42:31 +01:00
|
|
|
workspace = ".."
|
2018-12-10 07:14:29 +01:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2019-07-18 13:05:40 +02:00
|
|
|
features = ["ssl", "tls", "rust-tls", "uds"]
|
2018-12-10 07:14:29 +01:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "actix_server"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
|
|
|
|
# tls
|
|
|
|
tls = ["native-tls"]
|
|
|
|
|
|
|
|
# openssl
|
2019-04-16 17:32:12 +02:00
|
|
|
ssl = ["openssl", "tokio-openssl", "actix-server-config/ssl"]
|
2018-12-10 07:14:29 +01:00
|
|
|
|
|
|
|
# rustls
|
2019-04-16 17:32:12 +02:00
|
|
|
rust-tls = ["rustls", "tokio-rustls", "webpki", "webpki-roots", "actix-server-config/rust-tls"]
|
2018-12-10 07:14:29 +01:00
|
|
|
|
2019-07-18 13:05:40 +02:00
|
|
|
# uds
|
|
|
|
uds = ["mio-uds", "tokio-uds", "actix-server-config/uds"]
|
|
|
|
|
2018-12-10 07:14:29 +01:00
|
|
|
[dependencies]
|
2019-07-18 13:05:40 +02:00
|
|
|
actix-rt = "0.2.2"
|
|
|
|
actix-service = "0.4.1"
|
2019-10-04 02:13:33 +02:00
|
|
|
actix-server-config = "0.2.0"
|
2018-12-10 07:14:29 +01:00
|
|
|
|
|
|
|
log = "0.4"
|
|
|
|
num_cpus = "1.0"
|
|
|
|
|
2019-07-18 13:05:40 +02:00
|
|
|
mio = "0.6.19"
|
2018-12-10 07:14:29 +01:00
|
|
|
net2 = "0.2"
|
|
|
|
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"
|
|
|
|
|
2019-07-18 13:05:40 +02:00
|
|
|
# unix domain sockets
|
|
|
|
mio-uds = { version="0.6.7", optional = true }
|
|
|
|
tokio-uds = { version="0.2.5", optional = true }
|
|
|
|
|
2018-12-10 07:14:29 +01:00
|
|
|
# native-tls
|
|
|
|
native-tls = { version="0.2", optional = true }
|
|
|
|
|
|
|
|
# openssl
|
|
|
|
openssl = { version="0.10", optional = true }
|
|
|
|
tokio-openssl = { version="0.3", optional = true }
|
|
|
|
|
2019-07-18 13:05:40 +02:00
|
|
|
# rustls
|
2019-10-03 20:32:32 +02:00
|
|
|
rustls = { version = "0.16.0", optional = true }
|
|
|
|
tokio-rustls = { version = "0.10.0", optional = true }
|
|
|
|
webpki = { version = "0.21", optional = true }
|
|
|
|
webpki-roots = { version = "0.17", optional = true }
|
2018-12-10 07:14:29 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2019-03-11 22:33:19 +01:00
|
|
|
bytes = "0.4"
|
2019-04-16 17:32:12 +02:00
|
|
|
actix-codec = "0.1.2"
|
2019-03-11 22:33:19 +01:00
|
|
|
env_logger = "0.6"
|