[package]
edition = "2021"
rust-version = "1.70"
name = "hashing"
version = "0.1.8"
authors = ["hadi cahyadi <cumulus13@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A robust, production-ready hashing library and CLI tool supporting multiple algorithms"
readme = "README.md"
keywords = [
"hash",
"crypto",
"checksum",
"digest",
"cli",
]
categories = [
"command-line-utilities",
"cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cumulus13/hashing"
[lib]
name = "hashing"
path = "src/lib.rs"
[[bin]]
name = "hash"
path = "src/bin/hash.rs"
[[bin]]
name = "hashing"
path = "src/main.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "batch_processing"
path = "examples/batch_processing.rs"
[[example]]
name = "file_integrity"
path = "examples/file_integrity.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[bench]]
name = "hash_bench"
path = "benches/hash_bench.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.blake2]
version = "0.10"
[dependencies.blake3]
version = "1.5"
[dependencies.clap]
version = "4.4"
features = [
"derive",
"cargo",
]
[dependencies.clap-version-flag]
version = "1.0.7"
[dependencies.hex]
version = "0.4"
[dependencies.md-5]
version = "0.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.sha3]
version = "0.10"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3.8"
[profile.bench]
inherits = "release"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true