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
somewhere in the dependency tree.default-features = false - fips = self_tests
-
enable FIPS checks
- logging default = log
- 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
moduleAffects
rustls-mbedcrypto-provider::self_tests
… - tls12 default
-
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.