tls-api-native-tls 0.9.0

TLS API implementation over native-tls crate
Documentation
[package]
name = "tls-api-native-tls"
version = "0.9.0"
authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"]
description = "TLS API implementation over native-tls crate"
license = "MIT/Apache-2.0"
repository = "https://github.com/stepancheg/rust-tls-api/"
keywords = ["tls"]
edition = "2018"

[lib]
bench = false

[badges]
travis-ci = { repository = "https://github.com/stepancheg/rust-tls-api/", branch = "master" }

[dependencies]
native-tls = { version ="0.2", features = ["alpn"] }
tokio      = { version = "1.2.0", features = [], optional = true }
async-std  = { version = "1.9.0", features = ["attributes"], optional = true }
anyhow     = "1.0.44"
thiserror  = "1.0.30"

tls-api = { path = "../api", version = "=0.9.0", default-features = false }

# this is needed until package-features is stabelized (issue #5364)
tls-api-test = { path = "../api-test", version = "=0.9.0", default-features = false }

[features]
default = ["runtime-tokio"]
runtime-async-std = ["async-std", "tls-api/runtime-async-std", "tls-api-test/runtime-async-std"]
runtime-tokio = ["tokio", "tls-api/runtime-tokio", "tls-api-test/runtime-tokio"]

[dev-dependencies]
tls-api-test = { path = "../api-test", version = "=0.9.0", default-features = false }
test-cert-gen = { path = "../test-cert-gen", version = "=0.9.0", default-features = false }

[build-dependencies]
tls-api-test = { path = "../api-test", version = "=0.9.0", default-features = false }