mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Refactor: Extract new crate simple-git
(#1304)
`binstalk-downloader` contains stuff about http(s) before the git code is moved into it and now it becomes http and git. While git indeed uses http stuff, which is why I decided to put it into binstalk-downloader, it is more than just downloading since it is stateful (can be cached locally and updated) where as http is stateless. Also `binstalk-downloader`'s codegen time now increases dramatically and it also creates extra dependencies for binstalk-fetchers, delaying its execution. The git code also don't use anything from `binstalk-downloader` at all, it makes sense to be an independent crate. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
20a57a9a9b
commit
dc77a1ab93
17 changed files with 258 additions and 24 deletions
|
@ -13,6 +13,7 @@ members = [
|
|||
"crates/detect-wasi",
|
||||
"crates/fs-lock",
|
||||
"crates/normalize-path",
|
||||
"crates/simple-git",
|
||||
"crates/detect-targets",
|
||||
"crates/leon",
|
||||
"crates/leon-macros",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue