2018-08-19 17:47:04 +00:00
|
|
|
[package]
|
|
|
|
name = "actix-net"
|
2018-11-09 02:45:40 +00:00
|
|
|
version = "0.2.1"
|
2018-08-19 17:47:04 +00:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2018-10-09 04:46:57 +00:00
|
|
|
description = "Actix net - framework for the compisible network services for Rust (experimental)"
|
2018-08-19 17:47:04 +00:00
|
|
|
readme = "README.md"
|
2018-08-22 04:11:16 +00:00
|
|
|
keywords = ["network", "framework", "async", "futures"]
|
2018-08-19 17:47:04 +00:00
|
|
|
homepage = "https://actix.rs"
|
|
|
|
repository = "https://github.com/actix/actix-net.git"
|
2018-10-09 05:02:38 +00:00
|
|
|
documentation = "https://docs.rs/actix-net/"
|
2018-08-22 04:11:16 +00:00
|
|
|
categories = ["network-programming", "asynchronous"]
|
2018-08-19 17:47:04 +00: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" }
|
2018-10-08 22:38:52 +00:00
|
|
|
# appveyor = { repository = "fafhrd91/actix-web-hdy9d" }
|
2018-08-19 17:47:04 +00:00
|
|
|
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"]
|
|
|
|
|
2018-10-03 05:18:07 +00:00
|
|
|
cell = []
|
|
|
|
|
2018-08-19 17:47:04 +00:00
|
|
|
[dependencies]
|
2018-11-08 17:16:40 +00:00
|
|
|
actix = "0.7.5"
|
2018-08-19 17:47:04 +00: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"
|
2018-08-24 03:47:41 +00:00
|
|
|
tokio = "0.1"
|
2018-09-13 01:47:39 +00:00
|
|
|
tokio-codec = "0.1"
|
2018-08-19 17:47:04 +00:00
|
|
|
tokio-io = "0.1"
|
|
|
|
tokio-tcp = "0.1"
|
|
|
|
tokio-timer = "0.2"
|
|
|
|
tokio-reactor = "0.1"
|
2018-09-08 16:36:38 +00:00
|
|
|
tokio-current-thread = "0.1"
|
2018-08-19 17:47:04 +00:00
|
|
|
tower-service = "0.1"
|
2018-11-01 19:25:03 +00:00
|
|
|
trust-dns-proto = "^0.5.0"
|
|
|
|
trust-dns-resolver = "^0.10.0"
|
2018-08-19 17:47:04 +00: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
|
2018-10-02 20:37:30 +00:00
|
|
|
rustls = { version = "^0.14", optional = true }
|
|
|
|
tokio-rustls = { version = "^0.8", optional = true }
|
2018-08-19 17:47:04 +00:00
|
|
|
webpki = { version = "0.18", optional = true }
|
|
|
|
webpki-roots = { version = "0.15", optional = true }
|
|
|
|
|
2018-09-18 03:19:48 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
env_logger = "0.5"
|
|
|
|
|
2018-08-19 17:47:04 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
opt-level = 3
|
|
|
|
codegen-units = 1
|