ntex/ntex-tls/Cargo.toml
Nikolay Kim 83d05d81ef
Refactor ntex-io (#164)
* Refactor Io and Filter types
2023-01-23 09:42:00 +01:00

45 lines
1 KiB
TOML

[package]
name = "ntex-tls"
version = "0.2.1"
authors = ["ntex contributors <team@ntex.rs>"]
description = "An implementation of SSL streams for ntex backed by OpenSSL"
keywords = ["network", "framework", "async", "futures"]
homepage = "https://ntex.rs"
repository = "https://github.com/ntex-rs/ntex.git"
documentation = "https://docs.rs/ntex-openssl/"
categories = ["network-programming", "asynchronous"]
license = "MIT"
edition = "2018"
[lib]
name = "ntex_tls"
path = "src/lib.rs"
[features]
default = []
# openssl
openssl = ["tls_openssl"]
# rustls support
rustls = ["tls_rust"]
[dependencies]
ntex-bytes = "0.1.19"
ntex-io = "0.2.1"
ntex-util = "0.2.0"
ntex-service = "1.0.0"
log = "0.4"
pin-project-lite = "0.2"
# openssl
tls_openssl = { version="0.10", package = "openssl", optional = true }
# rustls
tls_rust = { version = "0.20", package = "rustls", optional = true }
[dev-dependencies]
ntex = { version = "0.6.0", features = ["openssl", "rustls", "tokio"] }
env_logger = "0.10"
rustls-pemfile = { version = "1.0" }
webpki-roots = { version = "0.22" }