Cargo Features
crypto-common has no features set by default.
[dependencies]
crypto-common = { version = "0.2.0-rc.1", features = ["std", "getrandom", "rand_core"] }
- std
-
Enables std of optional getrandom
getrandom:
Implement std::error::Error for getrandom::Error and use std to retrieve OS error descriptions
optional dependencies
- getrandom
-
Enables getrandom, getrandom of optional rand_core
Affects
crypto-common::KeyInit.generate_key
,crypto-common::KeyIvInit.generate_key
,crypto-common::KeyIvInit.generate_iv
,crypto-common::KeyIvInit.generate_key_iv
,crypto-common::InnerIvInit.generate_iv
…
Features from optional dependencies
- rand_core implicit feature
-
Affects
crypto-common::KeyInit.generate_key_with_rng
,crypto-common::KeyIvInit.generate_key_with_rng
,crypto-common::KeyIvInit.generate_iv_with_rng
,crypto-common::KeyIvInit.generate_key_iv_with_rng
,crypto-common::InnerIvInit.generate_iv_with_rng
…