Cargo Features
Crypto has no features set by default.
[dependencies]
crypto = { version = "0.5.1", features = ["std", "getrandom", "rand_core"] }
- std
-
Enables std of aead, cipher ^0.4, digest ^0.10, elliptic-curve, password-hash ^0.5, signature, and universal-hash ^0.5
aead:
optional dependencies
- getrandom
-
Enables getrandom of crypto-common ^0.1
- rand_core
-
Enables rand_core of crypto-common ^0.1
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.
- aead std?
- cipher std?
-
Enables cipher ^0.4
- digest std?
-
Enables digest ^0.10
- elliptic-curve std?
- password-hash std?
-
Enables password-hash ^0.5
- signature std?
- universal-hash std?
-
Enables universal-hash ^0.5