# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.63.0" name = "noncrypto-digests" version = "0.3.2" authors = ["Yuri Astrakhan "] description = "Implement Digest trait for non-cryptographic hashing functions like fnv and xxhash" readme = "README.md" keywords = [ "hash", "digest", "fnv", "xxhash", "xxh3", ] categories = ["cryptography"] license = "MIT OR Apache-2.0" repository = "https://github.com/nyurik/noncrypto-digests" [dependencies.digest] version = "0.10.7" [dependencies.fnv] version = "1.0.7" optional = true [dependencies.xxhash-rust] version = "0.8.10" optional = true [dev-dependencies.cargo-husky] version = "1" features = ["user-hooks"] default-features = false [dev-dependencies.hex] version = "0.4" [dev-dependencies.insta] version = "1" features = [] [features] default = [ "fnv", "xxh3", "xxh32", "xxh64", ] fnv = ["dep:fnv"] xxh3 = [ "dep:xxhash-rust", "xxhash-rust?/xxh3", ] xxh32 = [ "dep:xxhash-rust", "xxhash-rust?/xxh32", ] xxh64 = [ "dep:xxhash-rust", "xxhash-rust?/xxh64", ] [lints.clippy] module_name_repetitions = "allow" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unused_qualifications = "warn"