Debian Codegraph @

debian/rust-vendor/shake/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 = "shake"
16 version = "0.1.0"
17 authors = ["RustCrypto Developers"]
18 build = false
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "Implementation of the SHAKE family of extendable-output functions (XOFs)"
25 documentation = "https://docs.rs/shake"
26 readme = "README.md"
27 keywords = [
28 "sha3",
29 "keccak",
30 "hash",
31 "xof",
32 "digest",
33 ]
34 categories = [
35 "cryptography",
36 "no-std",
37 ]
38 license = "MIT OR Apache-2.0"
39 repository = "https://github.com/RustCrypto/XOFs"
40
41 [package.metadata.docs.rs]
42 all-features = true
43
44 [features]
45 alloc = ["digest/alloc"]
46 default = ["alloc"]
47 zeroize = [
48 "digest/zeroize",
49 "sponge-cursor/zeroize",
50 ]
51
52 [lib]
53 name = "shake"
54 path = "src/lib.rs"
55
56 [[test]]
57 name = "cshake"
58 path = "tests/cshake.rs"
59
60 [[bench]]
61 name = "mod"
62 path = "benches/mod.rs"
63
64 [dependencies.digest]
65 version = "0.11"
66 default-features = false
67
68 [dependencies.keccak]
69 version = "0.2"
70
71 [dependencies.sponge-cursor]
72 version = "0.1"
73
74 [dev-dependencies.digest]
75 version = "0.11"
76 features = ["dev"]
77 default-features = false
78
79 [dev-dependencies.hex-literal]
80 version = "1"
81
82 [lints.clippy]
83 borrow_as_ptr = "warn"
84 cast_lossless = "warn"
85 cast_possible_truncation = "warn"
86 cast_possible_wrap = "warn"
87 cast_precision_loss = "warn"
88 cast_sign_loss = "warn"
89 checked_conversions = "warn"
90 from_iter_instead_of_collect = "warn"
91 implicit_saturating_sub = "warn"
92 manual_assert = "warn"
93 map_unwrap_or = "warn"
94 missing_errors_doc = "warn"
95 missing_panics_doc = "warn"
96 mod_module_files = "warn"
97 must_use_candidate = "warn"
98 needless_range_loop = "allow"
99 ptr_as_ptr = "warn"
100 redundant_closure_for_method_calls = "warn"
101 ref_as_ptr = "warn"
102 return_self_not_must_use = "warn"
103 semicolon_if_nothing_returned = "warn"
104 std_instead_of_alloc = "warn"
105 std_instead_of_core = "warn"
106 trivially_copy_pass_by_ref = "warn"
107 undocumented_unsafe_blocks = "warn"
108 unnecessary_safety_comment = "warn"
109 unwrap_in_result = "warn"
110 unwrap_used = "warn"
111
112 [lints.rust]
113 missing_copy_implementations = "warn"
114 missing_debug_implementations = "warn"
115 missing_docs = "warn"
116 trivial_casts = "warn"
117 trivial_numeric_casts = "warn"
118 unused_lifetimes = "warn"
119 unused_qualifications = "warn"