# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "mbedtls-platform-support" version = "0.1.1" authors = ["Yuxiang Cao "] build = "build.rs" links = "mbedtls-platform-support" description = """ This Rust crate is a support library for the `mbedtls` crate, providing platform and target specific implementations of all necessary functions. By separating this logic into a separate crate, multiple versions of the mbedtls crate can coexist within a single crate.This helps to avoid link name conflict errors. The crate exports Rust functions and defines C functions to support external overrides as needed for custom implementation under various platforms or targets. """ documentation = "https://docs.rs/mbedtls-platform-support/" readme = "README.md" keywords = [ "MbedTLS", "mbed", "TLS", "SSL", "cryptography", ] license = "Apache-2.0 OR GPL-2.0-or-later" repository = "https://github.com/fortanix/rust-mbedtls" resolver = "2" [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4" optional = true [dependencies.mbedtls-sys-auto] version = "2.25.0" features = [ "threading", "custom_printf", ] default-features = false [dependencies.spin] version = "0.4.0" optional = true default-features = false [build-dependencies.cc] version = "1.0" [features] aesni = ["mbedtls-sys-auto/aesni"] custom_gmtime_r = [ "mbedtls-sys-auto/custom_gmtime_r", "chrono", ] custom_time = [ "mbedtls-sys-auto/custom_time", "chrono", ] force_aesni_support = [ "mbedtls-sys-auto/custom_has_support", "mbedtls-sys-auto/aes_alt", "aesni", ] rust_threading = [ "mbedtls-sys-auto/custom_threading", "std", ] spin_threading = [ "spin", "mbedtls-sys-auto/custom_threading", ] std = ["mbedtls-sys-auto/std"] time = ["mbedtls-sys-auto/time"] [target.x86_64-fortanix-unknown-sgx.dependencies.chrono] version = "0.4"