Refactor: Extract new crate binstalk-fetchers (#1291)

To reduce `binstalk` codegen and enable better reuse.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-08-14 13:20:34 +10:00 committed by GitHub
parent 623f7ff4ed
commit 76c72469eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1008 additions and 122 deletions

25
Cargo.lock generated
View file

@ -244,9 +244,9 @@ dependencies = [
name = "binstalk"
version = "0.15.0"
dependencies = [
"async-trait",
"atomic-file-install",
"binstalk-downloader",
"binstalk-fetchers",
"binstalk-registry",
"binstalk-types",
"cargo-toml-workspace",
@ -258,11 +258,9 @@ dependencies = [
"itertools",
"jobslot",
"leon",
"leon-macros",
"maybe-owned",
"miette",
"normalize-path",
"once_cell",
"semver",
"strum",
"target-lexicon",
@ -309,6 +307,27 @@ dependencies = [
"zstd 0.12.4",
]
[[package]]
name = "binstalk-fetchers"
version = "0.0.0"
dependencies = [
"async-trait",
"binstalk-downloader",
"binstalk-types",
"compact_str",
"either",
"itertools",
"leon",
"leon-macros",
"miette",
"once_cell",
"strum",
"thiserror",
"tokio",
"tracing",
"url",
]
[[package]]
name = "binstalk-manifests"
version = "0.8.0"