add copy_dir helper function

This commit is contained in:
Benjamin Lee 2024-09-09 18:19:12 -07:00
parent d7dedb8f10
commit a2ed21f1c2
No known key found for this signature in database
GPG key ID: FB9624E2885D55A4
4 changed files with 371 additions and 1 deletions

20
Cargo.lock generated
View file

@ -640,6 +640,12 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
[[package]]
name = "fastrand"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
[[package]]
name = "fdeflate"
version = "0.3.4"
@ -843,6 +849,7 @@ dependencies = [
"serde_yaml",
"sha-1",
"strum",
"tempfile",
"thiserror",
"thread_local",
"tikv-jemallocator",
@ -2782,6 +2789,19 @@ dependencies = [
"futures-core",
]
[[package]]
name = "tempfile"
version = "3.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
dependencies = [
"cfg-if",
"fastrand",
"once_cell",
"rustix",
"windows-sys 0.59.0",
]
[[package]]
name = "terminal_size"
version = "0.3.0"