cargo-binstall/crates
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
..
atomic-file-install release: atomic-file-install v1.0.5 (#1812) 2024-07-06 05:06:54 +00:00
bin release: cargo-binstall v1.10.9 (#1941) 2024-10-26 02:51:55 +00:00
binstalk chore: release (#1937) 2024-10-26 01:49:47 +00:00
binstalk-bins chore: release (#1870) 2024-08-10 07:46:44 +00:00
binstalk-downloader Use rc-zip-sync for zip extraction (#1942) 2024-10-30 00:16:54 +00:00
binstalk-fetchers chore: release (#1933) 2024-10-12 15:08:00 +00:00
binstalk-git-repo-api chore: release (#1933) 2024-10-12 15:08:00 +00:00
binstalk-manifests chore: release (#1937) 2024-10-26 01:49:47 +00:00
binstalk-registry chore: release (#1878) 2024-08-12 14:22:35 +00:00
binstalk-types chore: release (#1870) 2024-08-10 07:46:44 +00:00
cargo-toml-workspace release: cargo-toml-workspace v6.0.1 (#1840) 2024-07-26 08:57:35 +00:00
detect-targets chore: release (#1937) 2024-10-26 01:49:47 +00:00
detect-wasi chore: release (#1937) 2024-10-26 01:49:47 +00:00
fs-lock chore: release (#1928) 2024-10-12 03:58:24 +00:00
normalize-path release: normalize-path v0.2.1 (#1173) 2023-06-26 08:22:39 +00:00