2019-12-02 06:30:27 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-tls"
|
2019-12-05 11:40:24 +01:00
|
|
|
version = "1.0.0-alpha.3"
|
2019-12-02 06:30:27 +01:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
|
|
description = "Actix tls services"
|
|
|
|
keywords = ["network", "framework", "async", "futures"]
|
|
|
|
homepage = "https://actix.rs"
|
|
|
|
repository = "https://github.com/actix/actix-net.git"
|
|
|
|
documentation = "https://docs.rs/actix-tls/"
|
|
|
|
categories = ["network-programming", "asynchronous"]
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
edition = "2018"
|
|
|
|
workspace = ".."
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2019-12-05 15:52:37 +01:00
|
|
|
features = ["openssl", "rustls", "nativetls"]
|
2019-12-02 06:30:27 +01:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "actix_tls"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
|
|
|
|
# openssl
|
|
|
|
openssl = ["open-ssl", "tokio-openssl"]
|
|
|
|
|
|
|
|
# rustls
|
2019-12-05 15:58:28 +01:00
|
|
|
rustls = ["rust-tls", "webpki", "webpki-roots", "tokio-rustls"]
|
2019-12-02 06:30:27 +01:00
|
|
|
|
2019-12-05 15:52:37 +01:00
|
|
|
# nativetls
|
|
|
|
nativetls = ["native-tls", "tokio-tls"]
|
|
|
|
|
2019-12-02 06:30:27 +01:00
|
|
|
[dependencies]
|
2019-12-11 05:34:50 +01:00
|
|
|
actix-service = "1.0.0"
|
2019-12-11 05:23:01 +01:00
|
|
|
actix-codec = "0.2.0"
|
2019-12-05 11:40:24 +01:00
|
|
|
actix-utils = "1.0.0-alpha.3"
|
2019-12-11 06:28:09 +01:00
|
|
|
actix-rt = "1.0.0"
|
2019-12-02 17:30:09 +01:00
|
|
|
derive_more = "0.99.2"
|
2019-12-02 06:30:27 +01:00
|
|
|
either = "1.5.2"
|
|
|
|
futures = "0.3.1"
|
|
|
|
log = "0.4"
|
|
|
|
|
|
|
|
# openssl
|
|
|
|
open-ssl = { version="0.10", package = "openssl", optional = true }
|
2019-12-05 11:40:24 +01:00
|
|
|
tokio-openssl = { version = "0.4.0", optional = true }
|
2019-12-02 06:30:27 +01:00
|
|
|
|
|
|
|
# rustls
|
|
|
|
rust-tls = { version = "0.16.0", package = "rustls", optional = true }
|
|
|
|
webpki = { version = "0.21", optional = true }
|
|
|
|
webpki-roots = { version = "0.17", optional = true }
|
2019-12-05 11:40:24 +01:00
|
|
|
tokio-rustls = { version = "0.12.0", optional = true }
|
2019-12-02 06:30:27 +01:00
|
|
|
|
2019-12-05 15:52:37 +01:00
|
|
|
# native-tls
|
|
|
|
native-tls = { version="0.2", optional = true }
|
|
|
|
tokio-tls = { version="0.3", optional = true }
|
|
|
|
|
2019-12-02 06:30:27 +01:00
|
|
|
[dev-dependencies]
|
2019-12-05 11:40:24 +01:00
|
|
|
bytes = "0.5"
|
|
|
|
actix-testing = { version="1.0.0-alpha.3" }
|