Refactor: Extract new crate binstalk-manifests (#511)

* Refactor: Extract new crate binstalk-manifests
* Fix clippy warning in mod `binstall_crates_v1`
* Rm unused deps in binstalk
* Update release-pr

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-11-08 11:50:02 +11:00 committed by GitHub
parent 565be9ae4c
commit fc6d9ab956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 96 additions and 47 deletions

28
Cargo.lock generated
View file

@ -109,6 +109,7 @@ name = "binstalk"
version = "0.4.1"
dependencies = [
"async-trait",
"binstalk-manifests",
"binstall-tar",
"bytes",
"bzip2",
@ -119,7 +120,6 @@ dependencies = [
"digest",
"env_logger",
"flate2",
"fs-lock",
"futures-util",
"generic-array",
"home",
@ -134,15 +134,11 @@ dependencies = [
"scopeguard",
"semver",
"serde",
"serde-tuple-vec-map",
"serde_json",
"strum",
"strum_macros",
"tempfile",
"thiserror",
"tinytemplate",
"tokio",
"toml_edit",
"tower",
"trust-dns-resolver",
"url",
@ -151,6 +147,28 @@ dependencies = [
"zstd",
]
[[package]]
name = "binstalk-manifests"
version = "0.1.0"
dependencies = [
"compact_str",
"detect-targets",
"fs-lock",
"home",
"miette",
"once_cell",
"semver",
"serde",
"serde-tuple-vec-map",
"serde_json",
"strum",
"strum_macros",
"tempfile",
"thiserror",
"toml_edit",
"url",
]
[[package]]
name = "binstall-tar"
version = "0.4.39"