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, digest, elliptic-curve, password-hash, signature, and universal-hash

aead:

optional dependencies

getrandom

Enables getrandom of crypto-common

rand_core

Enables rand_core of crypto-common

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?
digest std?
elliptic-curve std?
password-hash std?
signature std?
universal-hash std?