aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorTeddy Wing2021-06-06 04:09:31 +0200
committerTeddy Wing2021-06-06 04:09:31 +0200
commit5539a9e8cc6e0b348f0428502b80ba32843ec36a (patch)
tree657434730a47df33de8830b74aea11250343e65b /Cargo.lock
parent6d5a4095ba4fd78707dc6a8d6321d72ebfc80f1c (diff)
downloadreflectub-5539a9e8cc6e0b348f0428502b80ba32843ec36a.tar.bz2
Make repo mirroring multi-threaded
I think, at least. Took a lot of research and trial and error to get this to compile, working out how to set up the multi-threading for async code. The idea here is to be able to process each repo in potentially multiple threads and do that processing work in parallel.
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock7
1 files changed, 4 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 27edc85..d3df79b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -188,11 +188,10 @@ dependencies = [
[[package]]
name = "crossbeam-utils"
-version = "0.8.4"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4feb231f0d4d6af81aed15928e58ecf5816aa62a2393e2c82f46973e92a9a278"
+checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
dependencies = [
- "autocfg",
"cfg-if",
"lazy_static",
]
@@ -322,6 +321,7 @@ dependencies = [
"futures-core",
"futures-task",
"futures-util",
+ "num_cpus",
]
[[package]]
@@ -1041,6 +1041,7 @@ dependencies = [
"chrono",
"exitcode",
"filetime",
+ "futures",
"getopts",
"git2",
"reqwest",