Cargo Features
[dependencies]
crypto-primes = { version = "0.6.0-pre.2", default-features = false, features = ["default-rng", "tests-openssl", "tests-gmp", "tests-glass-pumpkin", "tests-exhaustive", "tests-all"] }
- default = default-rng
-
The
default-rng
feature is set by default whenevercrypto-primes
is added without
somewhere in the dependency tree.default-features = false - default-rng default
-
Enables getrandom of rand_core
Affects
presets::generate_prime
,presets::generate_safe_prime
,presets::is_prime
,presets::is_safe_prime
… - tests-openssl tests-all? = openssl
- tests-gmp tests-all?
- tests-glass-pumpkin tests-all? = glass_pumpkin
- tests-exhaustive tests-all?
- tests-all = tests-exhaustive, tests-glass-pumpkin, tests-gmp, tests-openssl
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.