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
|
@ -11,6 +11,7 @@ license = "GPL-3.0-only"
|
|||
|
||||
[dependencies]
|
||||
async-trait = "0.1.68"
|
||||
atomic-file-install = { version = "0.0.0", path = "../atomic-file-install" }
|
||||
base16 = "0.2.1"
|
||||
binstalk-downloader = { version = "0.7.0", path = "../binstalk-downloader", default-features = false, features = ["gh-api-client"] }
|
||||
binstalk-types = { version = "0.5.0", path = "../binstalk-types" }
|
||||
|
@ -28,7 +29,6 @@ maybe-owned = "0.3.4"
|
|||
miette = "5.9.0"
|
||||
normalize-path = { version = "0.2.1", path = "../normalize-path" }
|
||||
once_cell = "1.18.0"
|
||||
reflink-copy = "0.1.5"
|
||||
semver = { version = "1.0.17", features = ["serde"] }
|
||||
serde = { version = "1.0.163", features = ["derive"] }
|
||||
serde_json = "1.0.99"
|
||||
|
@ -45,9 +45,6 @@ xz2 = "0.1.7"
|
|||
[dev-dependencies]
|
||||
toml_edit = { version = "0.19.11", features = ["serde"] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
windows = { version = "0.48.0", features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
|
||||
|
||||
[features]
|
||||
default = ["static", "rustls", "git"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue