Debian Codegraph @

debian/missing-sources/sha2/Cargo.toml

raw symbols SCIP
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.9"
16 authors = ["RustCrypto Developers"]
17 build = false
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = """
24 Pure Rust implementation of the SHA-2 hash function family
25 including SHA-224, SHA-256, SHA-384, and SHA-512.
26 """
27 documentation = "https://docs.rs/sha2"
28 readme = "README.md"
29 keywords = [
30 "crypto",
31 "sha2",
32 "hash",
33 "digest",
34 ]
35 categories = [
36 "cryptography",
37 "no-std",
38 ]
39 license = "MIT OR Apache-2.0"
40 repository = "https://github.com/RustCrypto/hashes"
41
42 [package.metadata.docs.rs]
43 all-features = true
44 rustdoc-args = [
45 "--cfg",
46 "docsrs",
47 ]
48
49 [features]
50 asm = ["sha2-asm"]
51 asm-aarch64 = ["asm"]
52 compress = []
53 default = ["std"]
54 force-soft = []
55 force-soft-compact = []
56 loongarch64_asm = []
57 oid = ["digest/oid"]
58 std = ["digest/std"]
59
60 [lib]
61 name = "sha2"
62 path = "src/lib.rs"
63
64 [[test]]
65 name = "mod"
66 path = "tests/mod.rs"
67
68 [[bench]]
69 name = "mod"
70 path = "benches/mod.rs"
71
72 [dependencies.cfg-if]
73 version = "1.0"
74
75 [dependencies.digest]
76 version = "0.10.7"
77
78 [dev-dependencies.digest]
79 version = "0.10.7"
80 features = ["dev"]
81
82 [dev-dependencies.hex-literal]
83 version = "0.2.2"
84
85 [target.'cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))'.dependencies.cpufeatures]
86 version = "0.2"
87
88 [target.'cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))'.dependencies.sha2-asm]
89 version = "0.6.1"
90 optional = true