2018-12-10 07:14:29 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-server"
|
2019-11-14 13:38:24 +01:00
|
|
|
version = "0.8.0-alpha.1"
|
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-11-14 13:38:24 +01:00
|
|
|
features = ["nativetls", "openssl", "rustls", "uds"]
|
2018-12-10 07:14:29 +01:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "actix_server"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
2019-11-14 13:38:24 +01:00
|
|
|
nativetls = ["native-tls", "tokio-tls"]
|
|
|
|
openssl = ["open-ssl", "tokio-openssl", "actix-server-config/openssl"]
|
2019-11-27 16:03:26 +01:00
|
|
|
# rustls = ["rust-tls", "tokio-rustls", "webpki", "webpki-roots", "actix-server-config/rustls"]
|
2019-07-18 13:05:40 +02:00
|
|
|
|
2018-12-10 07:14:29 +01:00
|
|
|
[dependencies]
|
2019-11-14 13:38:24 +01:00
|
|
|
actix-service = "1.0.0-alpha.1"
|
|
|
|
actix-server-config = "0.3.0-alpha.1"
|
2019-11-26 03:26:22 +01:00
|
|
|
actix-rt = "1.0.0-alpha.1"
|
|
|
|
actix-codec = "0.2.0-alpha.1"
|
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"
|
2019-11-14 13:38:24 +01:00
|
|
|
futures = "0.3.1"
|
2018-12-10 07:14:29 +01:00
|
|
|
slab = "0.4"
|
2019-11-21 14:58:55 +01:00
|
|
|
tokio-net = { version = "0.2.0-alpha.6", features = ["signal", "tcp", "uds"] }
|
2018-12-10 07:14:29 +01:00
|
|
|
|
2019-11-26 12:03:52 +01:00
|
|
|
futures-core-preview = "0.3.0-alpha.19"
|
|
|
|
|
2019-07-18 13:05:40 +02:00
|
|
|
# unix domain sockets
|
2019-11-20 19:35:44 +01:00
|
|
|
mio-uds = { version = "0.6.7" }
|
2019-07-18 13:05:40 +02:00
|
|
|
|
2019-11-14 13:38:24 +01:00
|
|
|
# nativetls
|
|
|
|
native-tls = { version = "0.2", optional = true }
|
|
|
|
tokio-tls = { version = "0.3.0-alpha.6", optional = true }
|
2018-12-10 07:14:29 +01:00
|
|
|
|
|
|
|
# openssl
|
2019-11-14 13:38:24 +01:00
|
|
|
open-ssl = { version = "0.10", package = "openssl", optional = true }
|
|
|
|
tokio-openssl = { version = "0.4.0-alpha.6", optional = true }
|
2018-12-10 07:14:29 +01:00
|
|
|
|
2019-07-18 13:05:40 +02:00
|
|
|
# rustls
|
2019-11-14 13:38:24 +01:00
|
|
|
rust-tls = { version = "0.16.0", package = "rustls", optional = true }
|
|
|
|
# tokio-rustls = { version = "0.12.0-alpha.2", optional = true }
|
2019-11-27 16:03:26 +01:00
|
|
|
# tokio-rustls = { git = "https://github.com/quininer/tokio-rustls.git", branch = "tokio-0.2", optional = true }
|
2019-10-03 20:32:32 +02:00
|
|
|
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-11-14 13:38:24 +01:00
|
|
|
actix-codec = "0.2.0-alpha.1"
|
2019-03-11 22:33:19 +01:00
|
|
|
env_logger = "0.6"
|