[package] name = "hasher" version = "0.1.4" authors = ["Cryptape Technologies "] edition = "2018" description = "Package hasher provides a Hasher trait." license = "MIT" homepage = "https://github.com/cryptape/hasher" documentation = "https://github.com/cryptape/hasher/blob/master/README.md" [dependencies] tiny-keccak = { version = "2.0", features = ["keccak"], optional = true } blake2b-rs = { version = "0.1", optional = true } cryptape-sm = { version = "0.3", optional = true } [features] default = [] hash-keccak = ["tiny-keccak"] hash-blake2b = ["blake2b-rs"] hash-sm3 = ["cryptape-sm"]