Cargo Features

[dependencies]
rustls-mbedcrypto-provider = { version = "0.1.0", default-features = false, features = ["fips", "logging", "rdrand", "self_tests", "tls12"] }
default = logging, tls12

These default features are set whenever rustls-mbedcrypto-provider is added without default-features = false somewhere in the dependency tree.

fips = self_tests

enable FIPS checks

logging default = log

Enables logging of rustls

rdrand

Enables rdrand of mbedtls ^0.12.3

Affects rustls-mbedcrypto-provider::rng.MbedRng, rustls-mbedcrypto-provider::rng.rng_new

self_tests fips?

enables self_tests module

Affects rustls-mbedcrypto-provider::self_tests

tls12 default

Enables tls12 of rustls

Affects self_tests::tls12_sha256_prf_test_1, self_tests::tls12_sha256_prf_test_2, self_tests::tls12_sha384_prf_test_1, self_tests::tls12_sha384_prf_test_2

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.

log logging