[package]
edition = "2021"
rust-version = "1.80"
name = "native-tls"
version = "0.2.17"
authors = ["Steven Fackler <sfackler@gmail.com>"]
build = false
include = [
"src/**/*.rs",
"LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A wrapper over a platform's native TLS implementation"
homepage = "https://lib.rs/crates/native-tls"
readme = "README.md"
keywords = [
"tls",
"https",
"secure-transport",
"platform",
"abstraction",
]
categories = [
"network-programming",
"cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-native-tls/rust-native-tls"
[package.metadata.docs.rs]
features = ["alpn"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alpn = ["security-framework/alpn"]
alpn-accept = []
default = []
vendored = ["openssl/vendored"]
[lib]
name = "native_tls"
path = "src/lib.rs"
[dev-dependencies.tempfile]
version = "3.0"
[dev-dependencies.test-cert-gen]
version = "0.9"
[target.'cfg(not(any(target_os = "windows", target_vendor = "apple")))'.dependencies.log]
version = "0.4.27"
[target.'cfg(not(any(target_os = "windows", target_vendor = "apple")))'.dependencies.openssl]
version = "0.10.75"
[target.'cfg(not(any(target_os = "windows", target_vendor = "apple")))'.dependencies.openssl-probe]
version = "0.2.1"
[target.'cfg(not(any(target_os = "windows", target_vendor = "apple")))'.dependencies.openssl-sys]
version = "0.9.111"
[target.'cfg(target_os = "macos")'.dependencies.tempfile]
version = "3.1.0"
[target.'cfg(target_os = "windows")'.dependencies.schannel]
version = "0.1.28"
[target.'cfg(target_vendor = "apple")'.dependencies.libc]
version = "0.2.170"
[target.'cfg(target_vendor = "apple")'.dependencies.security-framework]
version = "3.5.1"
[target.'cfg(target_vendor = "apple")'.dependencies.security-framework-sys]
version = "2.15.0"