# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g. crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "hashlib" version = "0.1.0" authors = ["Boyu Yang "] description = "Provide various hash algorithms under a same abstraction layer." homepage = "https://yangby-cryptape.github.io/rust-hashlib/" keywords = ["hash"] categories = ["algorithms"] license = "Apache-2.0 OR MIT" repository = "https://github.com/yangby-cryptape/rust-hashlib" [dependencies.blake2b] version = "~0.4" optional = true package = "blake2b_simd" [dependencies.keccak] version = "~1.4" optional = true package = "tiny-keccak" [dependencies.md5] version = "~0.6" optional = true [dependencies.nfhash] version = "~0.1.2" package = "numext-fixed-hash" [dependencies.prelude] version = "~0.1.0" package = "hashlib-prelude" [dependencies.sha1] version = "~0.6" optional = true [dependencies.sha2] version = "~0.8" optional = true [features] default = ["support-all"] support-all = ["support-md5", "support-sha1", "support-sha2", "support-keccak", "support-blake2b"] support-blake2b = ["blake2b"] support-keccak = ["keccak"] support-md5 = ["md5"] support-sha1 = ["sha1"] support-sha2 = ["sha2"] [badges.travis-ci] repository = "yangby-cryptape/rust-hashlib"