mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Refactor: Extract mod fs
as crate atomic-file-install
(#1286)
Refactor: Extract mod `fs` as crate `atomic-install` To speedup codegen of `binstalk` and also publish a new crate that could be reused. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
8ff13c1b36
commit
ef99dd795f
9 changed files with 261 additions and 31 deletions
13
Cargo.lock
generated
13
Cargo.lock
generated
|
@ -173,6 +173,16 @@ dependencies = [
|
|||
"tokio-util",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "atomic-file-install"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"reflink-copy",
|
||||
"tempfile",
|
||||
"tracing",
|
||||
"windows 0.48.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.1.0"
|
||||
|
@ -235,6 +245,7 @@ name = "binstalk"
|
|||
version = "0.15.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"atomic-file-install",
|
||||
"base16",
|
||||
"binstalk-downloader",
|
||||
"binstalk-types",
|
||||
|
@ -252,7 +263,6 @@ dependencies = [
|
|||
"miette",
|
||||
"normalize-path",
|
||||
"once_cell",
|
||||
"reflink-copy",
|
||||
"semver",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
@ -265,7 +275,6 @@ dependencies = [
|
|||
"toml_edit",
|
||||
"tracing",
|
||||
"url",
|
||||
"windows 0.48.0",
|
||||
"xz2",
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue