2019-12-02 06:30:27 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-tls"
|
2020-09-08 19:00:07 +02:00
|
|
|
version = "2.0.0"
|
2019-12-02 06:30:27 +01:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2020-09-08 19:00:07 +02:00
|
|
|
description = "TLS acceptor services for Actix ecosystem."
|
2020-09-12 16:28:17 +02:00
|
|
|
keywords = ["network", "framework", "async", "tls", "ssl"]
|
2019-12-02 06:30:27 +01:00
|
|
|
homepage = "https://actix.rs"
|
|
|
|
repository = "https://github.com/actix/actix-net.git"
|
|
|
|
documentation = "https://docs.rs/actix-tls/"
|
|
|
|
categories = ["network-programming", "asynchronous"]
|
2020-07-14 12:11:30 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-12-02 06:30:27 +01:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[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"
|
|
|
|
|
2020-09-13 11:12:07 +02:00
|
|
|
[[example]]
|
|
|
|
name = "basic"
|
|
|
|
required-features = ["rustls"]
|
|
|
|
|
2019-12-02 06:30:27 +01:00
|
|
|
[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"
|
2020-08-24 10:18:37 +02:00
|
|
|
actix-codec = "0.3.0"
|
|
|
|
actix-utils = "2.0.0"
|
2020-09-08 19:00:07 +02:00
|
|
|
|
2020-03-11 20:30:32 +01:00
|
|
|
futures-util = { version = "0.3.4", default-features = false }
|
2019-12-02 06:30:27 +01:00
|
|
|
|
|
|
|
# openssl
|
2020-09-08 19:00:07 +02:00
|
|
|
open-ssl = { package = "openssl", version = "0.10", 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
|
2020-09-08 19:00:07 +02:00
|
|
|
rust-tls = { package = "rustls", version = "0.18.0", optional = true }
|
2019-12-02 06:30:27 +01:00
|
|
|
webpki = { version = "0.21", optional = true }
|
2020-07-14 12:14:06 +02:00
|
|
|
webpki-roots = { version = "0.20", optional = true }
|
|
|
|
tokio-rustls = { version = "0.14.0", optional = true }
|
2019-12-02 06:30:27 +01:00
|
|
|
|
2019-12-05 15:52:37 +01:00
|
|
|
# native-tls
|
2020-09-08 19:00:07 +02:00
|
|
|
native-tls = { version = "0.2", optional = true }
|
|
|
|
tokio-tls = { version = "0.3", optional = true }
|
2019-12-05 15:52:37 +01:00
|
|
|
|
2019-12-02 06:30:27 +01:00
|
|
|
[dev-dependencies]
|
2019-12-05 11:40:24 +01:00
|
|
|
bytes = "0.5"
|
2020-09-13 11:12:07 +02:00
|
|
|
log = "0.4"
|
|
|
|
env_logger = "0.7"
|
2020-12-29 00:54:21 +01:00
|
|
|
actix-testing = "2.0.0-beta.1"
|
|
|
|
actix-server = "2.0.0-beta.1"
|
2020-09-13 11:12:07 +02:00
|
|
|
actix-rt = "1"
|