Debian Codegraph @

debian/rust-vendor/digest/Cargo.toml

raw
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 = "2024"
14 rust-version = "1.85"
15 name = "digest"
16 version = "0.11.3"
17 authors = ["RustCrypto Developers"]
18 build = false
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "Traits for cryptographic hash functions and message authentication codes"
25 documentation = "https://docs.rs/digest"
26 readme = "README.md"
27 keywords = [
28 "digest",
29 "crypto",
30 "hash",
31 ]
32 categories = [
33 "cryptography",
34 "no-std",
35 ]
36 license = "MIT OR Apache-2.0"
37 repository = "https://github.com/RustCrypto/traits"
38
39 [package.metadata.docs.rs]
40 all-features = true
41
42 [features]
43 alloc = []
44 block-api = ["dep:block-buffer"]
45 default = ["block-api"]
46 dev = ["blobby"]
47 getrandom = [
48 "common/getrandom",
49 "rand_core",
50 ]
51 mac = ["dep:ctutils"]
52 oid = ["dep:const-oid"]
53 rand_core = ["common/rand_core"]
54 zeroize = [
55 "dep:zeroize",
56 "block-buffer?/zeroize",
57 ]
58
59 [lib]
60 name = "digest"
61 path = "src/lib.rs"
62
63 [[test]]
64 name = "dummy_fixed"
65 path = "tests/dummy_fixed.rs"
66
67 [dependencies.blobby]
68 version = "0.4"
69 optional = true
70
71 [dependencies.block-buffer]
72 version = "0.12"
73 optional = true
74
75 [dependencies.common]
76 version = "0.2"
77 package = "crypto-common"
78
79 [dependencies.const-oid]
80 version = "0.10"
81 optional = true
82
83 [dependencies.ctutils]
84 version = "0.4"
85 optional = true
86
87 [dependencies.zeroize]
88 version = "1.7"
89 optional = true
90 default-features = false
91
92 [dev-dependencies.sha2]
93 version = "0.11"
94
95 [lints.clippy]
96 borrow_as_ptr = "warn"
97 cast_lossless = "warn"
98 cast_possible_truncation = "warn"
99 cast_possible_wrap = "warn"
100 cast_precision_loss = "warn"
101 cast_sign_loss = "warn"
102 checked_conversions = "warn"
103 from_iter_instead_of_collect = "warn"
104 implicit_saturating_sub = "warn"
105 manual_assert = "warn"
106 map_unwrap_or = "warn"
107 missing_errors_doc = "warn"
108 missing_panics_doc = "warn"
109 mod_module_files = "warn"
110 must_use_candidate = "warn"
111 needless_range_loop = "allow"
112 ptr_as_ptr = "warn"
113 redundant_closure_for_method_calls = "warn"
114 ref_as_ptr = "warn"
115 return_self_not_must_use = "warn"
116 semicolon_if_nothing_returned = "warn"
117 std_instead_of_alloc = "warn"
118 std_instead_of_core = "warn"
119 trivially_copy_pass_by_ref = "warn"
120 undocumented_unsafe_blocks = "warn"
121 unnecessary_safety_comment = "warn"
122 unwrap_in_result = "warn"
123 unwrap_used = "warn"
124
125 [lints.rust]
126 missing_copy_implementations = "warn"
127 missing_debug_implementations = "warn"
128 missing_docs = "warn"
129 trivial_casts = "warn"
130 trivial_numeric_casts = "warn"
131 unused_lifetimes = "warn"
132 unused_qualifications = "warn"