Releases: EmbarkStudios/cargo-fetcher
Releases · EmbarkStudios/cargo-fetcher
Release 0.14.6
Changed
- PR#187 updated dependencies, including the fix for RUSTSEC-2023-0053, not that this crate was particularly affected by it.
Release 0.14.5
Release 0.14.4
Fixed
- PR#185 significantly improved the speed of the sync subcommand.
Release 0.14.3
Fixed
- PR#184 fixed submodule checkout even better this time. For real this time.
Release 0.14.2
Fixed
- PR#183 fixed an issue where submodule
HEAD
s did not reflect the actual checkout, causing cargo to resync them even though it didn't need to.
Release 0.14.1
Fixed
- PR#182 fixed an issue where non-github.com urls ending in
.git
were not properly synced to disk.
Release 0.14.0
[0.14.0] - 2023-08-11
Added
- PR#178 resolved #177 by adding support for sparse indices. This was further improved in PR#180 by using
tame-index
for registry index operations.
Changed
- PR#180 introduced 2 major refactors.
tame-index
is now used to fetch index metadata as well as several related helper functions, shrinking this codebase a bit.git2
has been replaced bygix
, completely removing both it and openssl from the dependency graph. - PR#181 made changes to asyncify the code, giving good speedups in
mirror
operations, but (at the moment) slightly worse timings forsync
. This will hopefully be fixed in a later patch.
0.13.1
Release 0.13.0
Added
- PR#172 added the
--timeout | CARGO_FETCHER_TIMEOUT
option, allowing control over how long each individual HTTP request is allowed to take. Defaults to 30 seconds, which is the same default timeout asreqwest
.
Changed
- PR#172 split git packages (bare clones and checkouts) and registry packages and downloads them in parallel. In my local tests this reduced overall wall time as typically git packages are an order of magnitude or more larger than a registry package, so splitting them allows the git packages to take up threads and I/O slots earlier, and registry packages can then fill in the remaining capacity. In addition, the git bare clone and checkout for each crate are now downloaded in parallel, as previously the checkout download would wait until the bare clone was downloaded before doing the disk splat, but this was wasteful.
- PR#172 updated dependencies.
Release 0.12.1
Added
- PR#171 added EC2 credential sourcing from IMDS for the
s3
backend, allowing for easier configuration when running in AWS. Thanks @jelmansouri!