Cargo Features
[dependencies]
rand_aes = { version = "0.3.1", default-features = false, features = ["std", "tls", "tls_aes128_ctr128", "tls_aes256_ctr64", "tls_aes256_ctr128", "experimental_riscv", "force_runtime_detection", "force_software", "verification", "rand_core", "getrandom"] }
- default = getrandom, rand_core, std, tls
-
These default features are set whenever
rand_aes
is added without
somewhere in the dependency tree.default-features = false - std default tls verification?
-
Used for TLS and runtime target feature detection.
- tls default = std
-
Activates the thread local functionality (defaults to the AES-128, 64-bit counter version).
Affects
rand_aes::tls
… - tls_aes128_ctr128
-
Uses the AES-128, 128-bit counter version for the TLS instance.
- tls_aes256_ctr64
-
Uses the AES-256, 64-bit counter version for the TLS instance.
- tls_aes256_ctr128
-
Uses the AES-256, 128-bit counter version for the TLS instance.
- experimental_riscv
-
Enables support for experimental RISC-V vector cryptography extension. Please read the README.md.
- force_runtime_detection
-
The following features are only used internally and are unstable Forces the compiler to enable the runtime detection.
- force_software
-
Forces the compiler to enable the software backend.
- verification = std
-
Enables some functionality used for the verification executable used in CI.
Affects
rand_aes::verification
…
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.