#!/bin/bash set -e function do_test() { echo "*> Running \`$@\`..." $@ } do_test cargo test do_test cargo test --release do_test cargo test --no-default-features do_test cargo test --release --no-default-features do_test cargo test --no-default-features --features cipher do_test cargo test --no-default-features --features cipher,cipher_aes256gcm do_test cargo test --no-default-features --features cipher,cipher_aes256gcm,cipher_chacha20ietf do_test cargo test --no-default-features --features cipher,cipher_aes256gcm,cipher_chacha20ietf,cipher_chacha20poly1305ietf do_test cargo test --release --no-default-features --features cipher do_test cargo test --release --no-default-features --features cipher,cipher_aes256gcm do_test cargo test --release --no-default-features --features cipher,cipher_aes256gcm,cipher_chacha20ietf do_test cargo test --release --no-default-features --features cipher,cipher_aes256gcm,cipher_chacha20ietf,cipher_chacha20poly1305ietf do_test cargo test --no-default-features --features cipher_stream do_test cargo test --no-default-features --features cipher_stream,cipher_stream_noisesocket do_test cargo test --release --no-default-features --features cipher_stream do_test cargo test --release --no-default-features --features cipher_stream,cipher_stream_noisesocket do_test cargo test --no-default-features --features hash do_test cargo test --no-default-features --features hash,hash_sha256 do_test cargo test --no-default-features --features hash,hash_sha256,hash_sha512 do_test cargo test --no-default-features --features hash,hash_sha256,hash_sha512,hash_blake2b do_test cargo test --release --no-default-features --features hash do_test cargo test --release --no-default-features --features hash,hash_sha256 do_test cargo test --release --no-default-features --features hash,hash_sha256,hash_sha512 do_test cargo test --release --no-default-features --features hash,hash_sha256,hash_sha512,hash_blake2b do_test cargo test --no-default-features --features kdf do_test cargo test --no-default-features --features kdf,kdf_hkdfsha256extract do_test cargo test --no-default-features --features kdf,kdf_hkdfsha256extract,kdf_hkdfsha256expand do_test cargo test --no-default-features --features kdf,kdf_hkdfsha256extract,kdf_hkdfsha256expand,kdf_hkdfsha512extract do_test cargo test --no-default-features --features kdf,kdf_hkdfsha256extract,kdf_hkdfsha256expand,kdf_hkdfsha512extract,kdf_hkdfsha512expand do_test cargo test --release --no-default-features --features kdf do_test cargo test --release --no-default-features --features kdf,kdf_hkdfsha256extract do_test cargo test --release --no-default-features --features kdf,kdf_hkdfsha256extract,kdf_hkdfsha256expand do_test cargo test --release --no-default-features --features kdf,kdf_hkdfsha256extract,kdf_hkdfsha256expand,kdf_hkdfsha512extract do_test cargo test --release --no-default-features --features kdf,kdf_hkdfsha256extract,kdf_hkdfsha256expand,kdf_hkdfsha512extract,kdf_hkdfsha512expand do_test cargo test --no-default-features --features mac do_test cargo test --no-default-features --features mac,mac_hmacsha256 do_test cargo test --no-default-features --features mac,mac_hmacsha256,mac_hmacsha512 do_test cargo test --no-default-features --features mac,mac_hmacsha256,mac_hmacsha512,mac_poly1305 do_test cargo test --release --no-default-features --features mac do_test cargo test --release --no-default-features --features mac,mac_hmacsha256 do_test cargo test --release --no-default-features --features mac,mac_hmacsha256,mac_hmacsha512 do_test cargo test --release --no-default-features --features mac,mac_hmacsha256,mac_hmacsha512,mac_poly1305 do_test cargo test --no-default-features --features pbkdf do_test cargo test --no-default-features --features pbkdf,pbkdf_argon2iv13 do_test cargo test --no-default-features --features pbkdf,pbkdf_argon2iv13,pbkdf_argon2idv13 do_test cargo test --release --no-default-features --features pbkdf do_test cargo test --release --no-default-features --features pbkdf,pbkdf_argon2iv13 do_test cargo test --release --no-default-features --features pbkdf,pbkdf_argon2iv13,pbkdf_argon2idv13