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
18
crates/atomic-file-install/Cargo.toml
Normal file
18
crates/atomic-file-install/Cargo.toml
Normal file
|
@ -0,0 +1,18 @@
|
|||
[package]
|
||||
name = "atomic-file-install"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
description = "For atomically installing a file or a symlink."
|
||||
repository = "https://github.com/cargo-bins/cargo-binstall"
|
||||
documentation = "https://docs.rs/atomic-install"
|
||||
authors = ["Jiahao XU <Jiahao_XU@outlook.com>"]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
rust-version = "1.65.0"
|
||||
|
||||
[dependencies]
|
||||
reflink-copy = "0.1.5"
|
||||
tempfile = "3.5.0"
|
||||
tracing = "0.1.37"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows = { version = "0.48.0", features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
|
Loading…
Add table
Add a link
Reference in a new issue