| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "sha2" |
| 15 |
version = "0.10.8" |
| 16 |
authors = ["RustCrypto Developers"] |
| 17 |
description = """ |
| 18 |
Pure Rust implementation of the SHA-2 hash function family |
| 19 |
including SHA-224, SHA-256, SHA-384, and SHA-512. |
| 20 |
""" |
| 21 |
documentation = "https://docs.rs/sha2" |
| 22 |
readme = "README.md" |
| 23 |
keywords = [ |
| 24 |
"crypto", |
| 25 |
"sha2", |
| 26 |
"hash", |
| 27 |
"digest", |
| 28 |
] |
| 29 |
categories = [ |
| 30 |
"cryptography", |
| 31 |
"no-std", |
| 32 |
] |
| 33 |
license = "MIT OR Apache-2.0" |
| 34 |
repository = "https://github.com/RustCrypto/hashes" |
| 35 |
|
| 36 |
[package.metadata.docs.rs] |
| 37 |
all-features = true |
| 38 |
rustdoc-args = [ |
| 39 |
"--cfg", |
| 40 |
"docsrs", |
| 41 |
] |
| 42 |
|
| 43 |
[dependencies.cfg-if] |
| 44 |
version = "1.0" |
| 45 |
|
| 46 |
[dependencies.digest] |
| 47 |
version = "0.10.7" |
| 48 |
|
| 49 |
[dev-dependencies.digest] |
| 50 |
version = "0.10.7" |
| 51 |
features = ["dev"] |
| 52 |
|
| 53 |
[dev-dependencies.hex-literal] |
| 54 |
version = "0.2.2" |
| 55 |
|
| 56 |
[features] |
| 57 |
asm = ["sha2-asm"] |
| 58 |
asm-aarch64 = ["asm"] |
| 59 |
compress = [] |
| 60 |
default = ["std"] |
| 61 |
force-soft = [] |
| 62 |
loongarch64_asm = [] |
| 63 |
oid = ["digest/oid"] |
| 64 |
std = ["digest/std"] |
| 65 |
|
| 66 |
[target."cfg(any(target_arch = \"aarch64\", target_arch = \"x86_64\", target_arch = \"x86\"))".dependencies.cpufeatures] |
| 67 |
version = "0.2" |
| 68 |
|
| 69 |
[target."cfg(any(target_arch = \"aarch64\", target_arch = \"x86_64\", target_arch = \"x86\"))".dependencies.sha2-asm] |
| 70 |
version = "0.6.1" |
| 71 |
optional = true |