Debian Codegraph @

.cargo/vendor/sha2/Cargo.toml.orig

raw
1 [package]
2 name = "sha2"
3 version = "0.10.8"
4 description = """
5 Pure Rust implementation of the SHA-2 hash function family
6 including SHA-224, SHA-256, SHA-384, and SHA-512.
7 """
8 authors = ["RustCrypto Developers"]
9 license = "MIT OR Apache-2.0"
10 readme = "README.md"
11 edition = "2018"
12 documentation = "https://docs.rs/sha2"
13 repository = "https://github.com/RustCrypto/hashes"
14 keywords = ["crypto", "sha2", "hash", "digest"]
15 categories = ["cryptography", "no-std"]
16
17 [dependencies]
18 digest = "0.10.7"
19 cfg-if = "1.0"
20
21 [target.'cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))'.dependencies]
22 cpufeatures = "0.2"
23 sha2-asm = { version = "0.6.1", optional = true }
24
25 [dev-dependencies]
26 digest = { version = "0.10.7", features = ["dev"] }
27 hex-literal = "0.2.2"
28
29 [features]
30 default = ["std"]
31 std = ["digest/std"]
32 oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57
33 asm = ["sha2-asm"] # WARNING: this feature SHOULD NOT be enabled by library crates
34 # Use assembly backend for LoongArch64 targets
35 # WARNING: Bumps MSRV to 1.72. This feature SHOULD NOT be enabled by library crates
36 loongarch64_asm = []
37 compress = [] # Expose compress functions
38 force-soft = [] # Force software implementation
39 asm-aarch64 = ["asm"] # DEPRECATED: use `asm` instead
40
41 [package.metadata.docs.rs]
42 all-features = true
43 rustdoc-args = ["--cfg", "docsrs"]