mbedtls-sys-auto 2.25.1

Rust bindings for MbedTLS. This version generates the correct bindings at compile time using bindgen.
[package]
name = "mbedtls-sys-auto"
version = "2.25.1"
authors = ["Jethro Beekman <jethro@fortanix.com>"]
build = "build/build.rs"
license = "Apache-2.0/GPL-2.0+"
description = """
Rust bindings for MbedTLS.

This version generates the correct bindings at compile time using bindgen."""
readme = "../README.md"
repository = "https://github.com/fortanix/rust-mbedtls"
documentation = "https://docs.rs/mbedtls-sys-auto/"
links = "mbedtls"

[lib]
name = "mbedtls_sys"

[dependencies]
cfg-if = "1.0.0"
libz-sys = { version = "1.0.0", optional = true }
# deprecated dependency, this don't do anything anymore, but still needed to
# provide the `libc` feature, can be removed on major version bump
libc = { version = "0.2.0", optional = true }

[target.'cfg(unix)'.dependencies]
libc = { version = "0.2.0" }

[build-dependencies]
bindgen = "0.19.0"
cmake = "0.1.17"
lazy_static = "1.4"

[features]
# If you use mbedtls-sys in a no_std configuration, you need to provide your
# own versions of the following functions:
#
# * calloc/free
# * strstr/strlen/strncpy/strncmp/strcmp/snprintf
# * memmove/memcpy/memcmp/memset
# * rand/printf (used only for self tests. optionally use custom_printf)
default = ["std", "debug", "threading", "zlib", "time", "aesni", "padlock", "legacy_protocols"]
std = ["debug"] # deprecated automatic enabling of debug, can be removed on major version bump
debug = []
custom_printf = []
custom_has_support = []
aes_alt = []
threading = []
time = []
havege = ["time"]
zlib = ["libz-sys"]
pkcs11 = []
aesni = []
padlock = []
legacy_protocols = []
mpi_force_c_code = []
trusted_cert_callback = []
# deprecated features, these don't do anything anymore, can be removed on major version bump
custom_threading = ["threading"]
pthread = ["threading"]
custom_time = ["time"]
custom_gmtime_r = ["time"]