debian/rust-vendor/tiny-keccak/build.rs
raw| 1 | #[cfg(not(any( |
| 2 | feature = "keccak", |
| 3 | feature = "shake", |
| 4 | feature = "sha3", |
| 5 | feature = "cshake", |
| 6 | feature = "kmac", |
| 7 | feature = "tuple_hash", |
| 8 | feature = "parallel_hash", |
| 9 | feature = "k12", |
| 10 | feature = "fips202", |
| 11 | feature = "sp800" |
| 12 | )))] |
| 13 | compile_error!( |
| 14 | "You need to specify at least one hash function you intend to use. \ |
| 15 | Available options:\n\ |
| 16 | keccak, shake, sha3, cshake, kmac, tuple_hash, parallel_hash, k12, fips202, sp800\n\ |
| 17 | e.g.\n\ |
| 18 | tiny-keccak = { version = \"2.0.0\", features = [\"sha3\"] }" |
| 19 | ); |
| 20 | |
| 21 | fn main() { |
| 22 | } |