Cargo Features

[dependencies]
crypto_proto = { version = "0.4.0", default-features = false, features = ["cipher", "cipher_chacha20ietf", "cipher_chacha20poly1305ietf", "cipher_stream", "cipher_stream_noisesocket", "hash", "hash_blake2b", "kdf", "kdf_hkdfsha256extract", "kdf_hkdfsha256expand", "kdf_hkdfsha512extract", "kdf_hkdfsha512expand", "mac", "mac_hmacsha256", "mac_hmacsha512", "mac_poly1305", "pbkdf", "pbkdf_argon2idv13"] }
default = cipher, cipher_aes256gcm, cipher_chacha20ietf, cipher_chacha20poly1305ietf, cipher_stream, cipher_stream_noisesocket, hash, hash_blake2b, hash_sha256, hash_sha512, kdf, kdf_hkdfsha256expand, kdf_hkdfsha256extract, kdf_hkdfsha512expand, kdf_hkdfsha512extract, mac, mac_hmacsha256, mac_hmacsha512, mac_poly1305, pbkdf, pbkdf_argon2idv13, pbkdf_argon2iv13

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

cipher default cipher_aes256gcm cipher_chacha20ietf cipher_chacha20poly1305ietf cipher_stream

Affects crypto_proto::cipher

cipher_aes256gcm cipher_chacha20ietf default = cipher
cipher_chacha20poly1305ietf default = cipher
cipher_stream default cipher_stream_noisesocket = cipher

Affects crypto_proto::cipher_stream

cipher_stream_noisesocket default = cipher_stream
hash default hash_blake2b hash_sha256 hash_sha512

Affects crypto_proto::hash

hash_sha256 hash_sha512 hash_blake2b default = hash
kdf default kdf_hkdfsha256expand kdf_hkdfsha256extract kdf_hkdfsha512expand kdf_hkdfsha512extract

Affects crypto_proto::kdf

kdf_hkdfsha256extract default = kdf, mac_hmacsha256
kdf_hkdfsha256expand default = kdf, mac_hmacsha256
kdf_hkdfsha512extract default = kdf, mac_hmacsha512
kdf_hkdfsha512expand default = kdf, mac_hmacsha512
mac default mac_hmacsha256 mac_hmacsha512 mac_poly1305

Affects crypto_proto::mac

mac_hmacsha256 default kdf_hkdfsha256expand kdf_hkdfsha256extract = mac
mac_hmacsha512 default kdf_hkdfsha512expand kdf_hkdfsha512extract = mac
mac_poly1305 default = mac
pbkdf default pbkdf_argon2idv13 pbkdf_argon2iv13

Affects crypto_proto::pbkdf

pbkdf_argon2iv13 pbkdf_argon2idv13 default = pbkdf