ntex/ntex-tls/Cargo.toml
2021-12-24 01:19:44 +06:00

44 lines
1 KiB
TOML

[package]
name = "ntex-tls"
version = "0.1.0-b.3"
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.8"
ntex-io = "0.1.0-b.3"
ntex-util = "0.1.3"
ntex-service = "0.3.0"
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.5.0-b.0", features = ["openssl", "rustls"] }
log = "0.4"
env_logger = "0.9"
rustls-pemfile = { version = "0.2" }