Refactor: Create new crate binstalk-git-repo-api

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-05-05 23:44:19 +10:00
parent dfdaf6952e
commit 9efe39528f
No known key found for this signature in database
GPG key ID: 76D1E687CA3C4928
17 changed files with 262 additions and 34 deletions

20
Cargo.lock generated
View file

@ -246,6 +246,7 @@ dependencies = [
"binstalk-bins",
"binstalk-downloader",
"binstalk-fetchers",
"binstalk-git-repo-api",
"binstalk-registry",
"binstalk-types",
"cargo-toml-workspace",
@ -303,10 +304,8 @@ dependencies = [
"httpdate",
"ipconfig",
"once_cell",
"percent-encoding",
"reqwest",
"serde",
"serde-tuple-vec-map",
"serde_json",
"tempfile",
"thiserror",
@ -325,6 +324,7 @@ version = "0.4.0"
dependencies = [
"async-trait",
"binstalk-downloader",
"binstalk-git-repo-api",
"binstalk-types",
"bytes",
"compact_str",
@ -342,6 +342,22 @@ dependencies = [
"url",
]
[[package]]
name = "binstalk-git-repo-api"
version = "0.1.0"
dependencies = [
"binstalk-downloader",
"compact_str",
"percent-encoding",
"serde",
"serde-tuple-vec-map",
"serde_json",
"thiserror",
"tokio",
"tracing",
"url",
]
[[package]]
name = "binstalk-manifests"
version = "0.13.0"