Refactor fetch and install to be more self-contained

This commit is contained in:
Félix Saparelli 2022-02-15 23:58:16 +13:00
parent 81cf2fc526
commit b584038d0d
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474
8 changed files with 268 additions and 116 deletions

12
Cargo.lock generated
View file

@ -32,6 +32,17 @@ version = "1.0.51"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b26702f315f53b6071259e15dd9d64528213b44d61de1ec926eca7715d62203"
[[package]]
name = "async-trait"
version = "0.1.52"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "061a7acccaa286c011ddc30970520b98fa40e00c9d644633fb26b5fc63a265e3"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "atty"
version = "0.2.14"
@ -114,6 +125,7 @@ name = "cargo-binstall"
version = "0.5.0"
dependencies = [
"anyhow",
"async-trait",
"cargo_metadata",
"cargo_toml",
"crates-index",