83 lines
1.7 KiB
TOML
83 lines
1.7 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2024"
|
|
rust-version = "1.85"
|
|
name = "sha1"
|
|
version = "0.11.0"
|
|
authors = ["RustCrypto Developers"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "SHA-1 hash function"
|
|
documentation = "https://docs.rs/sha1"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"sha1",
|
|
"hash",
|
|
"digest",
|
|
]
|
|
categories = [
|
|
"cryptography",
|
|
"no-std",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/RustCrypto/hashes"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
alloc = ["digest/alloc"]
|
|
default = [
|
|
"alloc",
|
|
"oid",
|
|
]
|
|
oid = ["digest/oid"]
|
|
zeroize = ["digest/zeroize"]
|
|
|
|
[lib]
|
|
name = "sha1"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "mod"
|
|
path = "tests/mod.rs"
|
|
|
|
[[bench]]
|
|
name = "mod"
|
|
path = "benches/mod.rs"
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1.0"
|
|
|
|
[dependencies.digest]
|
|
version = "0.11"
|
|
|
|
[dev-dependencies.digest]
|
|
version = "0.11"
|
|
features = ["dev"]
|
|
|
|
[dev-dependencies.hex-literal]
|
|
version = "1"
|
|
|
|
[target.'cfg(any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64"))'.dependencies.cpufeatures]
|
|
version = "0.3"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ['cfg(sha1_backend, values("aarch64-sha2", "x86-sha", "soft"))']
|