mirror of
https://github.com/actix/actix-web.git
synced 2024-12-20 23:26:44 +00:00
92 lines
2 KiB
TOML
92 lines
2 KiB
TOML
[package]
|
|
name = "actix-net"
|
|
version = "0.3.0"
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
description = "Actix net - framework for the compisible network services for Rust (experimental)"
|
|
readme = "README.md"
|
|
keywords = ["network", "framework", "async", "futures"]
|
|
homepage = "https://actix.rs"
|
|
repository = "https://github.com/actix/actix-net.git"
|
|
documentation = "https://docs.rs/actix-net/"
|
|
categories = ["network-programming", "asynchronous"]
|
|
license = "MIT/Apache-2.0"
|
|
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
|
edition = "2018"
|
|
|
|
[workspace]
|
|
members = [
|
|
"./",
|
|
"actix-service",
|
|
]
|
|
|
|
[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"]
|
|
|
|
cell = []
|
|
|
|
[dependencies]
|
|
actix = "0.7.6"
|
|
# actix-service = "0.1"
|
|
actix-service = { path="./actix-service" }
|
|
|
|
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 = "0.1"
|
|
tokio-codec = "0.1"
|
|
tokio-io = "0.1"
|
|
tokio-tcp = "0.1"
|
|
tokio-timer = "0.2"
|
|
tokio-reactor = "0.1"
|
|
tokio-current-thread = "0.1"
|
|
tower-service = { git = "https://github.com/tower-rs/tower.git" }
|
|
trust-dns-proto = "^0.5.0"
|
|
trust-dns-resolver = "^0.10.0"
|
|
|
|
# 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.14", optional = true }
|
|
tokio-rustls = { version = "^0.8", optional = true }
|
|
webpki = { version = "0.18", optional = true }
|
|
webpki-roots = { version = "0.15", optional = true }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.5"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = 3
|
|
codegen-units = 1
|