Cargo Features

[dependencies]
cryptoxide = { version = "0.4.4", default-features = false, features = ["blake2", "sha1", "sha2", "sha3", "ripemd160", "digest", "chacha", "salsa", "mac", "hkdf", "hmac", "pbkdf2", "scrypt", "argon2", "poly1305", "curve25519", "ed25519", "x25519", "with-bench"] }
default = argon2, blake2, chacha, curve25519, ed25519, hkdf, hmac, pbkdf2, poly1305, ripemd160, salsa, scrypt, sha1, sha2, sha3, x25519

These default features are set whenever cryptoxide is added without default-features = false somewhere in the dependency tree.

blake2 default argon2 = digest, mac

Affects hashing::blake2b, hashing::blake2s, hashing::blake2b_224, hashing::blake2b_256, hashing::blake2b_384, hashing::blake2b_512, hashing::blake2s_224, hashing::blake2s_256, cryptoxide::blake2b, cryptoxide::blake2s

sha1 default = digest

Affects hashing::sha1, hashing::sha1, cryptoxide::sha1

sha2 default ed25519 = digest

Affects hashing::sha2, hashing::sha224, hashing::sha256, hashing::sha384, hashing::sha512, cryptoxide::sha2

sha3 default = digest

Affects hashing::sha3, hashing::keccak, hashing::sha3_224, hashing::sha3_256, hashing::sha3_384, hashing::sha3_512, hashing::keccak224, hashing::keccak256, hashing::keccak384, hashing::keccak512, cryptoxide::sha3

ripemd160 default = digest

Affects hashing::ripemd160, hashing::ripemd160, cryptoxide::ripemd160

digest blake2 hkdf hmac mac? ripemd160 sha1 sha2 sha3

Affects cryptoxide::digest

chacha default

Affects drg::chacha, cryptoxide::chacha, cryptoxide::chacha20, cryptoxide::chacha20poly1305

salsa default

Affects cryptoxide::salsa20

mac blake2 hmac pbkdf2 poly1305 scrypt = digest

Affects cryptoxide::mac

hkdf default = digest, hmac

Affects cryptoxide::hkdf

hmac default hkdf scrypt = digest, mac

Affects cryptoxide::hmac

pbkdf2 default scrypt = mac

Affects cryptoxide::pbkdf2

scrypt default = hmac, mac, pbkdf2

Affects cryptoxide::scrypt

argon2 default = blake2

Affects kdf::argon2

poly1305 default = mac

Affects cryptoxide::poly1305, cryptoxide::chacha20poly1305

curve25519 default ed25519 x25519

Affects cryptoxide::curve25519

ed25519 default = curve25519, sha2

Affects cryptoxide::ed25519

x25519 default = curve25519

Affects cryptoxide::x25519

force-32bits use-stdsimd with-bench