mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Use reflink_copy::reflink_or_copy
in fs::atomic_install*
(#1197)
to speedup copy operation `atomic_install*`. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
b3b682a1af
commit
963e9e97ad
3 changed files with 28 additions and 5 deletions
19
Cargo.lock
generated
19
Cargo.lock
generated
|
@ -261,6 +261,7 @@ dependencies = [
|
|||
"miette",
|
||||
"normalize-path",
|
||||
"once_cell",
|
||||
"reflink-copy",
|
||||
"semver",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
@ -2005,6 +2006,12 @@ dependencies = [
|
|||
"windows-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ioctl-sys"
|
||||
version = "0.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8bd11f3a29434026f5ff98c730b668ba74b1033637b8817940b54d040696133c"
|
||||
|
||||
[[package]]
|
||||
name = "ipconfig"
|
||||
version = "0.3.2"
|
||||
|
@ -2750,6 +2757,18 @@ dependencies = [
|
|||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "reflink-copy"
|
||||
version = "0.1.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c9c6f4912869a1c9abaf4038e7051d88544960da7c9560b8baeaabfa3c95e05b"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"ioctl-sys",
|
||||
"libc",
|
||||
"windows 0.48.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex"
|
||||
version = "1.9.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue