Mercurial > hg
comparison rust/Cargo.lock @ 44539:fe7d2cf0b429
rust-status: traverse working directory in parallel
Using `rayon` for this task ensures that we are using the same work-stealing
threadpool for everything.
This change introduces `crossbeam` as an explicit dependency, although it is
already a dependency of `rayon`. It provides better structures for
multi-threaded tasks than the stdlib.
Differential Revision: https://phab.mercurial-scm.org/D8251
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Fri, 06 Mar 2020 17:51:24 +0100 |
parents | 79ac59d3f73d |
children | 82f51ab7a2dd |
comparison
equal
deleted
inserted
replaced
44538:b8ba46c97cdd | 44539:fe7d2cf0b429 |
---|---|
96 "python27-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", | 96 "python27-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", |
97 "python3-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", | 97 "python3-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", |
98 ] | 98 ] |
99 | 99 |
100 [[package]] | 100 [[package]] |
101 name = "crossbeam" | |
102 version = "0.7.3" | |
103 source = "registry+https://github.com/rust-lang/crates.io-index" | |
104 dependencies = [ | |
105 "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", | |
106 "crossbeam-channel 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
107 "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", | |
108 "crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
109 "crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", | |
110 "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
111 ] | |
112 | |
113 [[package]] | |
114 name = "crossbeam-channel" | |
115 version = "0.4.2" | |
116 source = "registry+https://github.com/rust-lang/crates.io-index" | |
117 dependencies = [ | |
118 "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
119 "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", | |
120 ] | |
121 | |
122 [[package]] | |
101 name = "crossbeam-deque" | 123 name = "crossbeam-deque" |
102 version = "0.7.2" | 124 version = "0.7.2" |
103 source = "registry+https://github.com/rust-lang/crates.io-index" | 125 source = "registry+https://github.com/rust-lang/crates.io-index" |
104 dependencies = [ | 126 dependencies = [ |
105 "crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", | 127 "crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", |
190 version = "0.1.0" | 212 version = "0.1.0" |
191 dependencies = [ | 213 dependencies = [ |
192 "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", | 214 "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", |
193 "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", | 215 "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", |
194 "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", | 216 "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", |
217 "crossbeam 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", | |
195 "hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | 218 "hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", |
196 "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", | 219 "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", |
197 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", | 220 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", |
198 "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", | 221 "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", |
199 "memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", | 222 "memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", |
222 source = "registry+https://github.com/rust-lang/crates.io-index" | 245 source = "registry+https://github.com/rust-lang/crates.io-index" |
223 | 246 |
224 [[package]] | 247 [[package]] |
225 name = "libc" | 248 name = "libc" |
226 version = "0.2.66" | 249 version = "0.2.66" |
250 source = "registry+https://github.com/rust-lang/crates.io-index" | |
251 | |
252 [[package]] | |
253 name = "maybe-uninit" | |
254 version = "2.0.0" | |
227 source = "registry+https://github.com/rust-lang/crates.io-index" | 255 source = "registry+https://github.com/rust-lang/crates.io-index" |
228 | 256 |
229 [[package]] | 257 [[package]] |
230 name = "memchr" | 258 name = "memchr" |
231 version = "2.3.0" | 259 version = "2.3.0" |
660 "checksum cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)" = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd" | 688 "checksum cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)" = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd" |
661 "checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" | 689 "checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" |
662 "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9" | 690 "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9" |
663 "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" | 691 "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" |
664 "checksum cpython 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bfaf3847ab963e40c4f6dd8d6be279bdf74007ae2413786a0dcbb28c52139a95" | 692 "checksum cpython 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bfaf3847ab963e40c4f6dd8d6be279bdf74007ae2413786a0dcbb28c52139a95" |
693 "checksum crossbeam 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e" | |
694 "checksum crossbeam-channel 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "cced8691919c02aac3cb0a1bc2e9b73d89e832bf9a06fc579d4e71b68a2da061" | |
665 "checksum crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3aa945d63861bfe624b55d153a39684da1e8c0bc8fba932f7ee3a3c16cea3ca" | 695 "checksum crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3aa945d63861bfe624b55d153a39684da1e8c0bc8fba932f7ee3a3c16cea3ca" |
666 "checksum crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5064ebdbf05ce3cb95e45c8b086f72263f4166b29b97f6baff7ef7fe047b55ac" | 696 "checksum crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5064ebdbf05ce3cb95e45c8b086f72263f4166b29b97f6baff7ef7fe047b55ac" |
667 "checksum crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" | 697 "checksum crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db" |
668 "checksum crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ce446db02cdc3165b94ae73111e570793400d0794e46125cc4056c81cbb039f4" | 698 "checksum crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ce446db02cdc3165b94ae73111e570793400d0794e46125cc4056c81cbb039f4" |
669 "checksum ctor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "cd8ce37ad4184ab2ce004c33bf6379185d3b1c95801cab51026bd271bf68eedc" | 699 "checksum ctor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "cd8ce37ad4184ab2ce004c33bf6379185d3b1c95801cab51026bd271bf68eedc" |
673 "checksum getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb" | 703 "checksum getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb" |
674 "checksum hermit-abi 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "eff2656d88f158ce120947499e971d743c05dbcbed62e5bd2f38f1698bbc3772" | 704 "checksum hermit-abi 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "eff2656d88f158ce120947499e971d743c05dbcbed62e5bd2f38f1698bbc3772" |
675 "checksum hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "023b39be39e3a2da62a94feb433e91e8bcd37676fbc8bea371daf52b7a769a3e" | 705 "checksum hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "023b39be39e3a2da62a94feb433e91e8bcd37676fbc8bea371daf52b7a769a3e" |
676 "checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" | 706 "checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" |
677 "checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558" | 707 "checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558" |
708 "checksum maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" | |
678 "checksum memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3197e20c7edb283f87c071ddfc7a2cca8f8e0b888c242959846a6fce03c72223" | 709 "checksum memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3197e20c7edb283f87c071ddfc7a2cca8f8e0b888c242959846a6fce03c72223" |
679 "checksum memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" | 710 "checksum memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" |
680 "checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9" | 711 "checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9" |
681 "checksum num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "c62be47e61d1842b9170f0fdeec8eba98e60e90e5446449a0545e5152acd7096" | 712 "checksum num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "c62be47e61d1842b9170f0fdeec8eba98e60e90e5446449a0545e5152acd7096" |
682 "checksum num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46203554f085ff89c235cd12f7075f3233af9b11ed7c9e16dfe2560d03313ce6" | 713 "checksum num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46203554f085ff89c235cd12f7075f3233af9b11ed7c9e16dfe2560d03313ce6" |