Cargo Features

mbedtls-platform-support has no features set by default.

[dependencies]
mbedtls-platform-support = { version = "0.1.1", features = ["std", "time", "spin_threading", "rust_threading", "custom_gmtime_r", "custom_time", "force_aesni_support", "aesni"] }
std rust_threading?

Enables std of mbedtls-sys-auto

mbedtls-sys-auto:

deprecated automatic enabling of debug, can be removed on major version bump

time

Enables time of mbedtls-sys-auto

Affects mbedtls-platform-support::mbedtls_platform_gmtime_r, mbedtls-platform-support::mbedtls_time

spin_threading = spin

Enables custom_threading of mbedtls-sys-auto

Affects mbedtls-platform-support::threading

rust_threading = std

Enables custom_threading of mbedtls-sys-auto

mbedtls-sys-auto:

deprecated, needed for backcompat, can be removed on major version bump

Affects mbedtls-platform-support::threading

custom_gmtime_r = chrono

Enables custom_gmtime_r of mbedtls-sys-auto

Affects mbedtls-platform-support::mbedtls_platform_gmtime_r

custom_time = chrono

Enables custom_time of mbedtls-sys-auto

Affects mbedtls-platform-support::mbedtls_time

force_aesni_support = aesni

Enables aes_alt and custom_has_support of mbedtls-sys-auto

Affects mbedtls-platform-support::mbedtls_aesni_has_support, mbedtls-platform-support::mbedtls_internal_aes_encrypt, mbedtls-platform-support::mbedtls_internal_aes_decrypt

aesni force_aesni_support?

Enables aesni of mbedtls-sys-auto

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

spin spin_threading?

Enables spin ^0.4.0

chrono custom_gmtime_r? custom_time?