mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
feat: Support data verification in Download
(#1248)
By accepting `&mut dyn DataVerifier` for users to pass any callback that uses `digest::Digest`/`digest::Mac`, `sigstore` or whatever they want. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
3181e16e36
commit
e4c776f403
5 changed files with 92 additions and 61 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -275,7 +275,6 @@ dependencies = [
|
|||
"bytes",
|
||||
"bzip2",
|
||||
"compact_str",
|
||||
"digest",
|
||||
"flate2",
|
||||
"futures-lite",
|
||||
"futures-util",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue