# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "opentls"
version = "0.2.1"
authors = ["Julius de Bruijn <julius+gpg@nauk.io>"]
description = "TLS connections with OpenSSL.\n"
homepage = "https://docs.rs/crate/opentls/"
documentation = "https://docs.rs/crate/opentls/"
readme = "README.md"
categories = ["asynchronous", "cryptography", "network-programming", "openssl"]
license = "MIT/Apache-2.0"
repository = "https://github.com/prisma/opentls/"
[package.metadata.docs.rs]
features = ["io-async-std", "docs"]

[[test]]
name = "google"
required-features = ["io-async-std"]

[[test]]
name = "google-tokio"
required-features = ["io-tokio"]

[[test]]
name = "bad"
required-features = ["io-async-std"]

[[test]]
name = "smoke"
required-features = ["io-async-std"]
[dependencies.futures-util]
version = "0.3.1"
features = ["io"]
optional = true

[dependencies.log]
version = "0.4.5"

[dependencies.openssl]
version = "0.10.29"

[dependencies.openssl-probe]
version = "0.1"

[dependencies.openssl-sys]
version = "0.9.55"

[dependencies.tokio]
version = "1.0.1"
features = ["io-util"]
optional = true
default-features = false

[dependencies.url]
version = "2.1.1"
optional = true
[dev-dependencies.async-std]
version = "1.6.0"
features = ["attributes"]

[dev-dependencies.cfg-if]
version = "0.1.10"

[dev-dependencies.env_logger]
version = "0.7.1"

[dev-dependencies.futures]
version = "0.3.1"

[dev-dependencies.hex]
version = "0.4.2"

[dev-dependencies.tokio]
version = "1.0.1"
features = ["full"]

[features]
default = []
docs = []
io-async-std = ["futures-util", "url"]
io-tokio = ["tokio", "url"]
vendored = ["openssl/vendored"]