diff options
| author | Teddy Wing | 2021-06-06 04:09:31 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2021-06-06 04:09:31 +0200 | 
| commit | 5539a9e8cc6e0b348f0428502b80ba32843ec36a (patch) | |
| tree | 657434730a47df33de8830b74aea11250343e65b /Cargo.lock | |
| parent | 6d5a4095ba4fd78707dc6a8d6321d72ebfc80f1c (diff) | |
| download | reflectub-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.lock | 7 | 
1 files changed, 4 insertions, 3 deletions
| @@ -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", | 
