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
|
@ -17,7 +17,6 @@ binstalk-types = { version = "0.5.0", path = "../binstalk-types" }
|
|||
bytes = "1.4.0"
|
||||
bzip2 = "0.4.4"
|
||||
compact_str = "0.7.0"
|
||||
digest = "0.10.7"
|
||||
flate2 = { version = "1.0.26", default-features = false }
|
||||
futures-lite = { version = "1.13.0", default-features = false }
|
||||
futures-util = "0.3.28"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue