[package] name = "tokio-native-tls" # When releasing to crates.io: # - Remove path dependencies # - Update html_root_url. # - Update doc url # - Cargo.toml # - README.md # - Update CHANGELOG.md. # - Create "v0.1.x" git tag. version = "0.3.1" edition = "2018" authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tls" homepage = "https://tokio.rs" documentation = "https://docs.rs/tokio-native-tls" description = """ An implementation of TLS/SSL streams for Tokio using native-tls giving an implementation of TLS for nonblocking I/O streams. """ categories = ["asynchronous", "network-programming"] [dependencies] native-tls = "0.2" tokio = "1.0" [features] vendored = ["native-tls/vendored"] [dev-dependencies] tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "io-util", "net"] } tokio-util = { version = "0.6.0", features = ["full"] } cfg-if = "0.1" env_logger = { version = "0.6", default-features = false } futures = { version = "0.3.0", features = ["async-await"] } tempfile = "3.1" lazy_static = "1.4.0" [target.'cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios")))'.dev-dependencies] openssl = "0.10" [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dev-dependencies] security-framework = "0.2" [target.'cfg(windows)'.dev-dependencies] schannel = "0.1" [target.'cfg(windows)'.dev-dependencies.winapi] version = "0.3" features = [ "lmcons", "basetsd", "minwinbase", "minwindef", "ntdef", "sysinfoapi", "timezoneapi", "wincrypt", "winerror", ] [package.metadata.docs.rs] all-features = true