File: build.rs

package info (click to toggle)
rust-tiny-keccak 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 248 kB
  • sloc: makefile: 17
file content (22 lines) | stat: -rw-r--r-- 562 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#[cfg(not(any(
    feature = "keccak",
    feature = "shake",
    feature = "sha3",
    feature = "cshake",
    feature = "kmac",
    feature = "tuple_hash",
    feature = "parallel_hash",
    feature = "k12",
    feature = "fips202",
    feature = "sp800"
)))]
compile_error!(
    "You need to specify at least one hash function you intend to use. \
    Available options:\n\
    keccak, shake, sha3, cshake, kmac, tuple_hash, parallel_hash, k12, fips202, sp800\n\
    e.g.\n\
    tiny-keccak = { version = \"2.0.0\", features = [\"sha3\"] }"
);

fn main() {
}