cargo-binstall/crates
Jiahao XU 6bdb26930e
Refactor, improvements and bugfix for resolution and installation process (#619)
* Refactor: Extract new mod `ops::resolve::resolution`
* Refactor: Extract new type `ResolutionFetch`
* Refactor: Extract new type `ResolutionSource`
* Improve `Resolution::print`: Provides more details on which crate
   is the resolution for.
* Make `Resolution::print` a pub fn
* Refactor: Extract new fn `ResolutionFetch::install`
* Refactor: Extract new async fn `ResolutionSource::install`
* Optimize `ResolutionSource::install` avoiding `OsStr::to_string_lossy`.
* Add new dep command-group v2.0.0 to binstalk with feat with-tokio
* Fix `ResolutionSource::install`: Use `AsyncCommandGroup::group_spawn`
   instead of `tokio::process::Command::spawn` to ensure all the processes
   spanwed by the `cargo` process can be terminated with one signal sent to
   the `cargo` process.
* Fix printing resolution: Make sure they are printed without interleaving
* Refactor `entry::install_crates`
* Improve dry-run output for `ResolutionSource::install`
* Refactor: Extract new fn `ResolutionFetch::print`
* Refactor: Extract new fn `ResolutionSource::print`
* Optimize `Resolution`: Box unit variant `Fetch`
* Improve formatting of `tokio::process::Command`
   Prints out sth like `cargo install ...` instead of the `Debug::fmt`.
* Improve dry-run output

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-12-28 00:18:07 +00:00
..
bin Refactor, improvements and bugfix for resolution and installation process (#619) 2022-12-28 00:18:07 +00:00
binstalk Refactor, improvements and bugfix for resolution and installation process (#619) 2022-12-28 00:18:07 +00:00
binstalk-downloader Bump thiserror from 1.0.37 to 1.0.38 (#618) 2022-12-20 14:38:07 +11:00
binstalk-manifests Optimize binstalk-{manifest, types} (#610) 2022-12-21 06:07:04 +00:00
binstalk-types Optimize binstalk-{manifest, types} (#610) 2022-12-21 06:07:04 +00:00
detect-targets Bump tokio from 1.22.0 to 1.23.0 (#593) 2022-12-12 01:33:53 +00:00
detect-wasi release: detect-wasi v1.0.0 (#332) 2022-09-04 13:45:28 +00:00
fs-lock release: fs-lock v0.1.0 (#339) 2022-09-04 16:04:52 +00:00
normalize-path release: normalize-path v0.2.0 (#509) 2022-11-04 17:30:21 +11:00