-
Notifications
You must be signed in to change notification settings - Fork 234
/
Cargo.toml
42 lines (35 loc) · 1015 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "sha-1"
version = "0.9.3"
description = "SHA-1 hash function"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2018"
documentation = "https://docs.rs/sha-1"
repository = "https://github.com/RustCrypto/hashes"
keywords = ["crypto", "sha1", "hash", "digest"]
categories = ["cryptography", "no-std"]
[lib]
name = "sha1"
[dependencies]
digest = "0.9"
block-buffer = "0.9"
opaque-debug = "0.3"
cfg-if = "1.0"
sha1-asm = { version = "0.4", optional = true }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
cpuid-bool = "0.1"
[target.'cfg(all(target_arch = "aarch64", target_os = "linux"))'.dependencies]
libc = { version = "0.2.84", optional = true }
[dev-dependencies]
digest = { version = "0.9", features = ["dev"] }
hex-literal = "0.2"
[features]
default = ["std"]
std = ["digest/std"]
asm = ["sha1-asm", "libc"]
# Force software implementation
force-soft = []
# DEPRECATED: use `asm` instead
asm-aarch64 = ["asm"]