1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-12-18 05:43:12 +01:00
actix-net/actix-tls/Cargo.toml

85 lines
2.0 KiB
TOML
Raw Normal View History

[package]
name = "actix-tls"
2022-01-11 23:17:31 +01:00
version = "3.0.1"
2021-11-22 14:34:15 +01:00
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>",
]
description = "TLS acceptor and connector services for Actix ecosystem"
keywords = ["network", "tls", "ssl", "async", "transport"]
repository = "https://github.com/actix/actix-net.git"
2021-12-26 22:12:19 +01:00
categories = ["network-programming", "asynchronous", "cryptography"]
license = "MIT OR Apache-2.0"
edition = "2018"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
name = "actix_tls"
path = "src/lib.rs"
[features]
default = ["accept", "connect"]
# enable acceptor services
accept = []
# enable connector services
connect = []
# use openssl impls
openssl = ["tls-openssl", "tokio-openssl"]
# use rustls impls
rustls = ["tokio-rustls", "webpki-roots"]
# use native-tls impls
native-tls = ["tokio-native-tls"]
2020-12-29 12:36:17 +01:00
# support http::Uri as connect address
uri = ["http"]
[dependencies]
2021-12-31 09:08:14 +01:00
actix-codec = "0.4.2"
2021-03-29 07:57:14 +02:00
actix-rt = { version = "2.2.0", default-features = false }
2021-04-16 16:18:53 +02:00
actix-service = "2.0.0"
actix-utils = "3.0.0"
2020-09-08 19:00:07 +02:00
derive_more = "0.99.5"
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
log = "0.4"
pin-project-lite = "0.2.7"
tokio-util = { version = "0.6.3", default-features = false }
2020-12-29 12:36:17 +01:00
# uri
http = { version = "0.2.3", optional = true }
# openssl
2021-02-24 10:48:41 +01:00
tls-openssl = { package = "openssl", version = "0.10.9", optional = true }
tokio-openssl = { version = "0.6", optional = true }
# rustls
tokio-rustls = { version = "0.23", optional = true }
webpki-roots = { version = "0.22", optional = true }
# native-tls
tokio-native-tls = { version = "0.3", optional = true }
[dev-dependencies]
2021-03-29 07:57:14 +02:00
actix-rt = "2.2.0"
actix-server = "2.0.0-rc.3"
bytes = "1"
env_logger = "0.9"
2020-12-29 12:36:17 +01:00
futures-util = { version = "0.3.7", default-features = false, features = ["sink"] }
log = "0.4"
rcgen = "0.8"
rustls-pemfile = "0.2.1"
tokio-rustls = { version = "0.23", features = ["dangerous_configuration"] }
2021-01-26 09:05:19 +01:00
trust-dns-resolver = "0.20.0"
[[example]]
2021-11-28 01:56:15 +01:00
name = "accept-rustls"
2021-01-26 09:05:19 +01:00
required-features = ["accept", "rustls"]