1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 22:51:07 +01:00
actix-net/actix-tls/Cargo.toml

93 lines
2.5 KiB
TOML
Raw Normal View History

[package]
name = "actix-tls"
2023-08-26 19:05:39 +02:00
version = "3.1.0"
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"]
2023-08-26 15:59:51 +02:00
license.workspace = true
2023-07-17 04:05:39 +02:00
edition.workspace = true
rust-version.workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["accept", "connect"]
# enable acceptor services
accept = []
# enable connector services
connect = []
# use openssl impls
openssl = ["tls-openssl", "tokio-openssl"]
2023-08-26 15:59:51 +02:00
# alias for backwards compat
rustls = ["rustls-0_20"]
# use rustls v0.20 impls
rustls-0_20 = ["tokio-rustls-023", "webpki-roots-022"]
# use rustls v0.21 impls
rustls-0_21 = ["tokio-rustls-024", "webpki-roots-025"]
# 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]
2023-04-01 06:18:22 +02:00
actix-rt = { version = "2.2", default-features = false }
2022-10-21 04:15:48 +02:00
actix-service = "2"
actix-utils = "3"
2020-09-08 19:00:07 +02:00
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
2022-10-21 04:15:48 +02:00
impl-more = "0.1"
pin-project-lite = "0.2.7"
2023-04-01 23:24:10 +02:00
tokio = "1.23.1"
2022-02-15 02:47:27 +01:00
tokio-util = "0.7"
2022-03-15 20:37:08 +01:00
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
2020-12-29 12:36:17 +01:00
# uri
http = { version = "0.2.3", optional = true }
# openssl
2023-04-01 23:26:08 +02:00
tls-openssl = { package = "openssl", version = "0.10.48", optional = true }
tokio-openssl = { version = "0.6", optional = true }
2023-08-26 15:59:51 +02:00
# rustls v0.20
tokio-rustls-023 = { package = "tokio-rustls", version = "0.23", optional = true }
webpki-roots-022 = { package = "webpki-roots", version = "0.22", optional = true }
# rustls v0.21
tokio-rustls-024 = { package = "tokio-rustls", version = "0.24", optional = true }
webpki-roots-025 = { package = "webpki-roots", version = "0.25", optional = true }
# native-tls
tokio-native-tls = { version = "0.3", optional = true }
[dev-dependencies]
actix-codec = "0.5"
actix-rt = "2.2"
2022-10-21 04:15:48 +02:00
actix-server = "2"
bytes = "1"
2022-12-21 21:36:26 +01:00
env_logger = "0.10"
futures-util = { version = "0.3.17", default-features = false, features = ["sink"] }
2020-12-29 12:36:17 +01:00
log = "0.4"
2023-08-26 15:59:51 +02:00
rcgen = "0.11"
2022-10-21 04:23:40 +02:00
rustls-pemfile = "1"
2023-08-26 15:59:51 +02:00
tokio-rustls-024 = { package = "tokio-rustls", version = "0.24", features = ["dangerous_configuration"] }
trust-dns-resolver = "0.23"
2021-01-26 09:05:19 +01:00
[[example]]
2021-11-28 01:56:15 +01:00
name = "accept-rustls"
2023-08-26 15:59:51 +02:00
required-features = ["accept", "rustls-0_21"]