Files
rustcrypto-hashes/sha2/Cargo.toml
Tony Arcieri 8d9efa8241 Cut new prereleases (#776)
These include `digest` v0.11.0-rc.8 which transitively pins to
`rand_core` v0.10.0-rc-6 by way of `crypto-common`.

- `ascon-hash256` v0.5.0-rc.1
- `bash-hash` v0.1.0-rc.0
- `belt-hash` v0.2.0-rc.4
- `blake2` v0.11.0-rc.4
- `fsb` v0.2.0-rc.1
- `gost94` v0.11.0-rc.1
- `groestl` v0.11.0-rc.1
- `jh` v0.2.0-rc.1
- `k12` v0.4.0-rc.1
- `md-5` v0.11.0-rc.4
- `md2` v0.11.0-rc.1
- `md4` v0.11.0-rc.1
- `ripemd` v0.2.0-rc.4
- `sha1` v0.11.0-rc.4
- `sha2` v0.11.0-rc.4
- `sha3` v0.11.0-rc.6
- `shabal` v0.5.0-rc.1
- `skein` v0.2.0-rc.1
- `sm3` v0.5.0-rc.4
- `streebog` v0.11.0-rc.4
- `tiger` v0.3.0-rc.1
- `whirlpool` v0.11.0-rc.4
2026-01-24 10:10:35 -07:00

44 lines
1.1 KiB
TOML

[package]
name = "sha2"
version = "0.11.0-rc.4"
description = """
Pure Rust implementation of the SHA-2 hash function family
including SHA-224, SHA-256, SHA-384, and SHA-512.
"""
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2024"
rust-version = "1.85"
documentation = "https://docs.rs/sha2"
repository = "https://github.com/RustCrypto/hashes"
keywords = ["sha2", "hash", "digest"]
categories = ["cryptography", "no-std"]
[dependencies]
digest = "0.11.0-rc.8"
cfg-if = "1"
[target.'cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))'.dependencies]
cpufeatures = "0.2"
[dev-dependencies]
digest = { version = "0.11.0-rc.8", features = ["dev"] }
hex-literal = "1"
base16ct = { version = "1", features = ["alloc"] }
[features]
default = ["alloc", "oid"]
alloc = ["digest/alloc"]
zeroize = ["digest/zeroize"]
oid = ["digest/oid"]
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
'cfg(sha2_backend, values("soft", "soft-compact", "riscv-zknh", "riscv-zknh-compact"))',
]
[package.metadata.docs.rs]
all-features = true