mirror of
https://github.com/RustCrypto/hashes.git
synced 2026-01-25 04:18:20 +00:00
45 lines
1.1 KiB
TOML
45 lines
1.1 KiB
TOML
[package]
|
|
name = "sha2"
|
|
version = "0.11.0-pre.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 = ["crypto", "sha2", "hash", "digest"]
|
|
categories = ["cryptography", "no-std"]
|
|
|
|
[dependencies]
|
|
digest = "=0.11.0-pre.10"
|
|
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-pre.10", features = ["dev"] }
|
|
hex-literal = "1"
|
|
base16ct = { version = "0.2", features = ["alloc"] }
|
|
|
|
[features]
|
|
default = ["oid", "std"]
|
|
std = ["digest/std"]
|
|
zeroize = ["digest/zeroize"]
|
|
oid = ["digest/oid"]
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
check-cfg = [
|
|
'cfg(sha2_backend, values("soft", "riscv-zknh", "riscv-zknh-compact"))',
|
|
]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|