blazehash 0.2.4

Forensic file hasher — hashdeep for the modern era, BLAKE3 by default
Documentation
# 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.85"
name = "blazehash"
version = "0.2.4"
authors = ["Albert Hui <albert@securityronin.com>"]
build = false
exclude = [
    "target/",
    ".github/",
    ".serena/",
    "docs/",
    "wix/",
    "tests/data/",
    ".pre-commit-config.yaml",
    "renovate.json",
    "PACKAGING.md",
    "Makefile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Forensic file hasher — hashdeep for the modern era, BLAKE3 by default"
homepage = "https://github.com/SecurityRonin/blazehash"
documentation = "https://docs.rs/blazehash"
readme = "README.md"
keywords = [
    "hash",
    "forensics",
    "blake3",
    "hashdeep",
    "dfir",
]
categories = [
    "command-line-utilities",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/SecurityRonin/blazehash"

[package.metadata.deb]
maintainer = "SecurityRonin <security-ronin@users.noreply.github.com>"
section = "utils"
priority = "optional"
extended-description = "blazehash is a forensic file hasher and drop-in superset of hashdeep. It defaults to BLAKE3 for speed, supports 8 hash algorithms (BLAKE3, SHA-256, SHA-512, SHA3-256, SHA-1, MD5, Tiger, Whirlpool), and provides multithreaded parallel hashing with memory-mapped I/O. Features include audit mode, piecewise hashing, resume support, and CSV/JSON/JSONL output formats."
assets = [[
    "target/release/blazehash",
    "usr/bin/",
    "755",
]]

[features]
default = [
    "forensic-image",
    "gpu",
]
forensic-image = ["dep:ewf"]
gpu = [
    "dep:wgpu",
    "dep:pollster",
    "dep:toml",
    "dep:dirs",
]
nsrl = [
    "dep:rusqlite",
    "dep:bloomfilter",
]

[lib]
name = "blazehash"
path = "src/lib.rs"

[[bin]]
name = "blazehash"
path = "src/main.rs"

[[test]]
name = "ads_tests"
path = "tests/ads_tests.rs"

[[test]]
name = "algorithm_tests"
path = "tests/algorithm_tests.rs"

[[test]]
name = "audit_tests"
path = "tests/audit_tests.rs"

[[test]]
name = "benchmark_tests"
path = "tests/benchmark_tests.rs"

[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"

[[test]]
name = "dedup_tests"
path = "tests/dedup_tests.rs"

[[test]]
name = "diff_tests"
path = "tests/diff_tests.rs"

[[test]]
name = "e2e_tests"
path = "tests/e2e_tests.rs"

[[test]]
name = "folder_diff_tests"
path = "tests/folder_diff_tests.rs"

[[test]]
name = "format_tests"
path = "tests/format_tests.rs"

[[test]]
name = "gpu_tests"
path = "tests/gpu_tests.rs"

[[test]]
name = "hash_tests"
path = "tests/hash_tests.rs"

[[test]]
name = "manifest_loader_tests"
path = "tests/manifest_loader_tests.rs"

[[test]]
name = "manifest_tests"
path = "tests/manifest_tests.rs"

[[test]]
name = "mcp_tests"
path = "tests/mcp_tests.rs"

[[test]]
name = "mft_tests"
path = "tests/mft_tests.rs"

[[test]]
name = "nsrl_tests"
path = "tests/nsrl_tests.rs"

[[test]]
name = "parallel_config_tests"
path = "tests/parallel_config_tests.rs"

[[test]]
name = "piecewise_tests"
path = "tests/piecewise_tests.rs"

[[test]]
name = "resume_tests"
path = "tests/resume_tests.rs"

[[test]]
name = "signing_tests"
path = "tests/signing_tests.rs"

[[test]]
name = "verify_image_tests"
path = "tests/verify_image_tests.rs"

[[test]]
name = "walk_tests"
path = "tests/walk_tests.rs"

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.bloomfilter]
version = "1"
features = ["serde"]
optional = true

[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.crc32c]
version = "0.6"

[dependencies.digest]
version = "0.10"

[dependencies.dirs]
version = "5"
optional = true

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.ewf]
version = "0.2"
optional = true

[dependencies.globset]
version = "0.4"

[dependencies.hex]
version = "0.4"

[dependencies.md-5]
version = "0.10"

[dependencies.memmap2]
version = "0.9"

[dependencies.pollster]
version = "0.3"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1"

[dependencies.rpassword]
version = "6"

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha1]
version = "0.10"
features = ["oid"]

[dependencies.sha2]
version = "0.10"
features = ["oid"]

[dependencies.sha3]
version = "0.10"

[dependencies.tempfile]
version = "3"

[dependencies.tiger]
version = "0.2"

[dependencies.tlsh2]
version = "0.4"
features = ["diff"]

[dependencies.toml]
version = "0.8"
optional = true

[dependencies.walkdir]
version = "2"

[dependencies.wgpu]
version = "22"
optional = true

[dependencies.whirlpool]
version = "0.10"

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "windows")'.dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "fs",
    "sync",
    "macros",
]

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Storage_FileSystem",
    "Win32_Foundation",
    "Win32_System_Memory",
    "Win32_Security",
    "Win32_UI_Shell",
    "Win32_System_Threading",
    "Win32_System_Registry",
]