cargo-binstall/crates/binstalk-downloader/src
Jiahao XU e704abe7ac
Use rc-zip-sync for zip extraction (#1942)
* Use rc-zip-sync for zip extraction

Fixed #1080

In this commit, binstalk-downloader is updated to
- first download the zip into a temporary file, since
  there is no correct way to extract zip from a stream.
- then use rc-zip-sync to read from the zip and extract
  it to filesystem.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix returned `ExtractedFiles` in `do_extract_zip`

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

* Fix clippy in zip_extraction.rs

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-10-30 00:16:54 +00:00
..
download Use rc-zip-sync for zip extraction (#1942) 2024-10-30 00:16:54 +00:00
remote Enable happy eyeballs when using hickory-dns (#1877) 2024-08-11 07:26:09 +00:00
download.rs Use rc-zip-sync for zip extraction (#1942) 2024-10-30 00:16:54 +00:00
lib.rs Support private github repository (#1690) 2024-06-10 06:02:12 +00:00
remote.rs Improve derbugg logging (#1738) 2024-06-13 00:25:24 +10:00
utils.rs Remove dep futures-lite from binstalk-downloader (#1259) 2023-08-08 10:48:12 +00:00