mirror of
https://github.com/RustCrypto/hashes.git
synced 2026-01-25 04:18:20 +00:00
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "sha1-checked"
|
|
version = "0.11.0-pre"
|
|
description = "SHA-1 hash function with collision detection"
|
|
authors = ["RustCrypto Developers"]
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
edition = "2024"
|
|
rust-version = "1.85"
|
|
documentation = "https://docs.rs/sha1-checked"
|
|
repository = "https://github.com/RustCrypto/hashes"
|
|
keywords = ["crypto", "sha1", "hash", "digest"]
|
|
categories = ["cryptography", "no-std"]
|
|
|
|
exclude = [
|
|
"sha1-checked/tests/data/shattered-1.pdf",
|
|
"sha1-checked/tests/data/shattered-2.pdf",
|
|
]
|
|
|
|
[dependencies]
|
|
digest = "=0.11.0-pre.10"
|
|
sha1 = { version = "=0.11.0-pre.4", path = "../sha1", default-features = false }
|
|
zeroize = { version = "1.8", default-features = false, optional = true }
|
|
|
|
[dev-dependencies]
|
|
digest = { version = "=0.11.0-pre.10", features = ["dev"] }
|
|
hex-literal = "1"
|
|
base16ct = { version = "0.2", features = ["alloc"] }
|
|
|
|
[features]
|
|
default = ["oid", "std"]
|
|
std = ["digest/std", "sha1/std"]
|
|
oid = ["digest/oid", "sha1/oid"] # Enable OID support
|
|
zeroize = ["dep:zeroize"]
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|