mbedtls 0.12.3

Idiomatic Rust wrapper for MbedTLS, allowing you to use MbedTLS with only safe code while being able to use such great Rust features like error handling and closures. Building on MbedTLS's focus on embedded use, this crate can be used in a no_std environment.
Documentation
[[bench]]
harness = false
name = "ecp_eq_test"

[[example]]
name = "client"
required-features = ["std", "ssl"]

[[example]]
name = "client_dtls"
required-features = ["std", "ssl"]

[[example]]
name = "client_psk"
required-features = ["std", "ssl"]

[[example]]
name = "server"
required-features = ["std", "ssl"]

[[test]]
name = "client_server"
required-features = ["std", "ssl"]

[[test]]
name = "ssl_conf_ca_cb"
required-features = ["std", "ssl"]

[[test]]
name = "ssl_conf_verify"
required-features = ["std", "ssl"]

[[test]]
name = "hyper"
required-features = ["std", "ssl"]

[[test]]
name = "async_session"
path = "tests/async_session.rs"
required-features = ["async-rt", "ssl"]
[build-dependencies.cc]
version = "1.0"
[dependencies.bit-vec]
optional = true
version = "0.5"

[dependencies.bitflags]
version = "1"

[dependencies.byteorder]
default-features = false
version = "1.0.0"

[dependencies.cbc]
optional = true
version = "0.1.2"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.chrono]
optional = true
version = "0.4"

[dependencies.mbedtls-platform-support]
version = "0.1"

[dependencies.mbedtls-sys-auto]
default-features = false
features = ["trusted_cert_callback", "threading"]
version = "2.25.0"

[dependencies.num-bigint]
optional = true
version = "0.2"

[dependencies.rc2]
optional = true
version = "0.8.1"

[dependencies.serde]
default-features = false
features = ["alloc"]
version = "1.0.7"

[dependencies.serde_derive]
version = "1.0.7"

[dependencies.tokio]
optional = true
version = "1.16.1"

[dependencies.yasna]
features = ["num-bigint", "bit-vec"]
optional = true
version = "0.2"
[dev-dependencies.async-stream]
version = "0.3.0"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5.1"

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

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

[dev-dependencies.hyper]
default-features = false
version = "0.10.16"

[dev-dependencies.libc]
version = "0.2.0"

[dev-dependencies.matches]
version = "0.1.8"

[dev-dependencies.pin-project-lite]
version = "0.2"

[dev-dependencies.rand]
version = "0.4.0"

[dev-dependencies.serde_cbor]
version = "0.6"

[dev-dependencies.tracing]
version = "0.1"

[features]
aesni = ["mbedtls-platform-support/aesni"]
async = ["std", "tokio", "tokio/net", "tokio/io-util", "tokio/macros"]
async-rt = ["async", "tokio/rt", "tokio/sync", "tokio/rt-multi-thread"]
debug = ["mbedtls-sys-auto/debug"]
default = ["std", "aesni", "time", "padlock"]
dsa = ["std", "yasna", "num-bigint", "bit-vec"]
force_aesni_support = ["mbedtls-platform-support/force_aesni_support", "aesni"]
legacy_protocols = ["mbedtls-sys-auto/legacy_protocols", "ssl"]
mpi_force_c_code = ["mbedtls-sys-auto/mpi_force_c_code"]
no_std_deps = ["mbedtls-platform-support/spin", "serde/alloc"]
padlock = ["mbedtls-sys-auto/padlock"]
pkcs12 = ["std", "yasna", "x509"]
pkcs12_rc2 = ["pkcs12", "rc2", "cbc"]
rdrand = []
ssl = ["x509"]
std = ["byteorder/std", "mbedtls-sys-auto/std", "serde/std", "yasna", "mbedtls-platform-support/std"]
time = ["mbedtls-platform-support/time"]
x509 = []
zlib = ["mbedtls-sys-auto/zlib"]

[package]
authors = ["Jethro Beekman <jethro@fortanix.com>"]
build = "build.rs"
description = "Idiomatic Rust wrapper for MbedTLS, allowing you to use MbedTLS with only safe\ncode while being able to use such great Rust features like error handling and\nclosures.\n\nBuilding on MbedTLS's focus on embedded use, this crate can be used in a no_std\nenvironment."
documentation = "https://docs.rs/mbedtls/"
edition = "2018"
keywords = ["MbedTLS", "mbed", "TLS", "SSL", "cryptography"]
license = "Apache-2.0 OR GPL-2.0-or-later"
name = "mbedtls"
readme = "README.md"
repository = "https://github.com/fortanix/rust-mbedtls"
resolver = "2"
version = "0.12.3"
[target."cfg(target_env = \"msvc\")".dependencies.mbedtls-platform-support]
features = ["time"]
version = "0.1"

[target."cfg(target_env = \"msvc\")".dependencies.mbedtls-sys-auto]
default-features = false
features = ["trusted_cert_callback", "threading", "time"]
version = "2.25.0"
[target.x86_64-fortanix-unknown-sgx.dependencies.rs-libc]
version = "0.2.0"