| 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 = "sponge-cursor" |
| 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 = "Cursor for sponge-based absorption and squeezing" |
| 25 |
documentation = "https://docs.rs/sponge-cursor" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"block", |
| 29 |
"buffer", |
| 30 |
] |
| 31 |
categories = [ |
| 32 |
"cryptography", |
| 33 |
"no-std", |
| 34 |
] |
| 35 |
license = "MIT OR Apache-2.0" |
| 36 |
repository = "https://github.com/RustCrypto/utils" |
| 37 |
|
| 38 |
[lib] |
| 39 |
name = "sponge_cursor" |
| 40 |
path = "src/lib.rs" |
| 41 |
|
| 42 |
[[test]] |
| 43 |
name = "mod" |
| 44 |
path = "tests/mod.rs" |
| 45 |
|
| 46 |
[dependencies.zeroize] |
| 47 |
version = "1.4" |
| 48 |
optional = true |
| 49 |
default-features = false |
| 50 |
|
| 51 |
[dev-dependencies.keccak] |
| 52 |
version = "0.2" |
| 53 |
|
| 54 |
[lints.clippy] |
| 55 |
borrow_as_ptr = "warn" |
| 56 |
cast_lossless = "warn" |
| 57 |
cast_possible_truncation = "warn" |
| 58 |
cast_possible_wrap = "warn" |
| 59 |
cast_precision_loss = "warn" |
| 60 |
cast_sign_loss = "warn" |
| 61 |
checked_conversions = "warn" |
| 62 |
doc_markdown = "warn" |
| 63 |
from_iter_instead_of_collect = "warn" |
| 64 |
implicit_saturating_sub = "warn" |
| 65 |
manual_assert = "warn" |
| 66 |
map_unwrap_or = "warn" |
| 67 |
missing_errors_doc = "warn" |
| 68 |
missing_panics_doc = "warn" |
| 69 |
mod_module_files = "warn" |
| 70 |
must_use_candidate = "warn" |
| 71 |
needless_range_loop = "allow" |
| 72 |
ptr_as_ptr = "warn" |
| 73 |
redundant_closure_for_method_calls = "warn" |
| 74 |
ref_as_ptr = "warn" |
| 75 |
return_self_not_must_use = "warn" |
| 76 |
semicolon_if_nothing_returned = "warn" |
| 77 |
std_instead_of_alloc = "warn" |
| 78 |
std_instead_of_core = "warn" |
| 79 |
trivially_copy_pass_by_ref = "warn" |
| 80 |
undocumented_unsafe_blocks = "warn" |
| 81 |
unnecessary_safety_comment = "warn" |
| 82 |
unwrap_in_result = "warn" |
| 83 |
unwrap_used = "warn" |
| 84 |
|
| 85 |
[lints.rust] |
| 86 |
missing_copy_implementations = "warn" |
| 87 |
missing_debug_implementations = "warn" |
| 88 |
missing_docs = "warn" |
| 89 |
trivial_casts = "warn" |
| 90 |
trivial_numeric_casts = "warn" |
| 91 |
unused_lifetimes = "warn" |
| 92 |
unused_qualifications = "warn" |