[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 }
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]
default = ["std", "debug", "threading", "zlib", "time", "aesni", "padlock", "legacy_protocols"]
std = ["debug"]
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 = []
custom_threading = ["threading"]
pthread = ["threading"]
custom_time = ["time"]
custom_gmtime_r = ["time"]