[package]
edition = "2021"
rust-version = "1.88"
name = "blazehash-core"
version = "0.2.4"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lean hash-algorithm engine behind blazehash — 27 hash/checksum/fuzzy algorithms, no heavy deps"
homepage = "https://github.com/SecurityRonin/blazehash"
documentation = "https://docs.rs/blazehash-core"
readme = "README.md"
keywords = [
"hash",
"blake3",
"checksum",
"ssdeep",
"tlsh",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/SecurityRonin/blazehash"
[lib]
name = "blazehash_core"
path = "src/lib.rs"
[dependencies.adler]
version = "1"
[dependencies.anyhow]
version = "1"
[dependencies.blake2]
version = "0.10"
[dependencies.blake3]
version = "1"
[dependencies.crc]
version = "3"
[dependencies.crc32c]
version = "0.6"
[dependencies.digest]
version = "0.10"
[dependencies.hex]
version = "0.4"
[dependencies.md-5]
version = "0.10"
[dependencies.ripemd]
version = "0.1"
[dependencies.sha1]
version = "0.10"
features = ["oid"]
[dependencies.sha2]
version = "0.10"
features = ["oid"]
[dependencies.sha3]
version = "0.10"
[dependencies.sm3]
version = "0.4"
[dependencies.streebog]
version = "0.10"
[dependencies.tiger]
version = "0.2"
[dependencies.tiny-keccak]
version = "2"
features = ["k12"]
[dependencies.tlsh2]
version = "0.4"
features = ["diff"]
[dependencies.whirlpool]
version = "0.10"
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1
[lints.clippy.cast_possible_wrap]
level = "allow"
priority = 1
[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1
[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1
[lints.clippy.must_use_candidate]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "forbid"