Refactor: Extract new crate binstalk-{signal, downloader} (#518)

* Refactor: Extract new crate binstalk-downloader
* Re-export `PkgFmt` from `binstalk_manifests`
* Update release-pr.yml
* Update dependabot

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-11-11 15:02:54 +11:00 committed by GitHub
parent 3841762a5b
commit 89fa5b1769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 456 additions and 260 deletions

33
Cargo.lock generated
View file

@ -109,29 +109,21 @@ name = "binstalk"
version = "0.4.1"
dependencies = [
"async-trait",
"binstalk-downloader",
"binstalk-manifests",
"binstall-tar",
"bytes",
"bzip2",
"cargo_toml",
"compact_str",
"crates_io_api",
"detect-targets",
"digest",
"env_logger",
"flate2",
"futures-util",
"generic-array",
"home",
"httpdate",
"itertools",
"jobslot",
"log",
"miette",
"normalize-path",
"once_cell",
"reqwest",
"scopeguard",
"semver",
"serde",
"strum",
@ -139,6 +131,29 @@ dependencies = [
"thiserror",
"tinytemplate",
"tokio",
"url",
"xz2",
]
[[package]]
name = "binstalk-downloader"
version = "0.1.0"
dependencies = [
"binstalk-manifests",
"binstall-tar",
"bytes",
"bzip2",
"digest",
"flate2",
"futures-util",
"generic-array",
"httpdate",
"log",
"reqwest",
"scopeguard",
"tempfile",
"thiserror",
"tokio",
"tower",
"trust-dns-resolver",
"url",