##// END OF EJS Templates
rust: add logging utils...
Raphaël Gomès -
r45027:82f51ab7 default
parent child Browse files
Show More
@@ -1,760 +1,820
1 1 # This file is automatically @generated by Cargo.
2 2 # It is not intended for manual editing.
3 3 [[package]]
4 4 name = "aho-corasick"
5 version = "0.7.8"
5 version = "0.7.10"
6 6 source = "registry+https://github.com/rust-lang/crates.io-index"
7 7 dependencies = [
8 "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
8 "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
9 9 ]
10 10
11 11 [[package]]
12 12 name = "ansi_term"
13 13 version = "0.11.0"
14 14 source = "registry+https://github.com/rust-lang/crates.io-index"
15 15 dependencies = [
16 16 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
17 17 ]
18 18
19 19 [[package]]
20 20 name = "atty"
21 21 version = "0.2.14"
22 22 source = "registry+https://github.com/rust-lang/crates.io-index"
23 23 dependencies = [
24 "hermit-abi 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
25 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
24 "hermit-abi 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
25 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
26 26 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
27 27 ]
28 28
29 29 [[package]]
30 30 name = "autocfg"
31 31 version = "0.1.7"
32 32 source = "registry+https://github.com/rust-lang/crates.io-index"
33 33
34 34 [[package]]
35 35 name = "autocfg"
36 36 version = "1.0.0"
37 37 source = "registry+https://github.com/rust-lang/crates.io-index"
38 38
39 39 [[package]]
40 40 name = "bitflags"
41 41 version = "1.2.1"
42 42 source = "registry+https://github.com/rust-lang/crates.io-index"
43 43
44 44 [[package]]
45 45 name = "byteorder"
46 version = "1.3.2"
46 version = "1.3.4"
47 47 source = "registry+https://github.com/rust-lang/crates.io-index"
48 48
49 49 [[package]]
50 name = "c2-chacha"
51 version = "0.2.3"
52 source = "registry+https://github.com/rust-lang/crates.io-index"
53 dependencies = [
54 "ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
55 ]
56
57 [[package]]
58 50 name = "cc"
59 51 version = "1.0.50"
60 52 source = "registry+https://github.com/rust-lang/crates.io-index"
61 53
62 54 [[package]]
63 55 name = "cfg-if"
64 56 version = "0.1.10"
65 57 source = "registry+https://github.com/rust-lang/crates.io-index"
66 58
67 59 [[package]]
60 name = "chrono"
61 version = "0.4.11"
62 source = "registry+https://github.com/rust-lang/crates.io-index"
63 dependencies = [
64 "num-integer 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
65 "num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
66 "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
67 ]
68
69 [[package]]
68 70 name = "clap"
69 71 version = "2.33.0"
70 72 source = "registry+https://github.com/rust-lang/crates.io-index"
71 73 dependencies = [
72 74 "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
73 75 "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
74 76 "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
75 77 "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
76 78 "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
77 79 "unicode-width 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
78 80 "vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
79 81 ]
80 82
81 83 [[package]]
82 84 name = "cloudabi"
83 85 version = "0.0.3"
84 86 source = "registry+https://github.com/rust-lang/crates.io-index"
85 87 dependencies = [
86 88 "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
87 89 ]
88 90
89 91 [[package]]
92 name = "colored"
93 version = "1.9.3"
94 source = "registry+https://github.com/rust-lang/crates.io-index"
95 dependencies = [
96 "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
97 "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
98 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
99 ]
100
101 [[package]]
90 102 name = "cpython"
91 103 version = "0.4.1"
92 104 source = "registry+https://github.com/rust-lang/crates.io-index"
93 105 dependencies = [
94 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
106 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
95 107 "num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
96 108 "python27-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
97 109 "python3-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
98 110 ]
99 111
100 112 [[package]]
101 113 name = "crossbeam"
102 114 version = "0.7.3"
103 115 source = "registry+https://github.com/rust-lang/crates.io-index"
104 116 dependencies = [
105 117 "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
106 118 "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)",
119 "crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
120 "crossbeam-epoch 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
109 121 "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)",
122 "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
111 123 ]
112 124
113 125 [[package]]
114 126 name = "crossbeam-channel"
115 127 version = "0.4.2"
116 128 source = "registry+https://github.com/rust-lang/crates.io-index"
117 129 dependencies = [
118 "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
130 "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
119 131 "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
120 132 ]
121 133
122 134 [[package]]
123 135 name = "crossbeam-deque"
124 version = "0.7.2"
136 version = "0.7.3"
125 137 source = "registry+https://github.com/rust-lang/crates.io-index"
126 138 dependencies = [
127 "crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
128 "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
139 "crossbeam-epoch 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
140 "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
141 "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
129 142 ]
130 143
131 144 [[package]]
132 145 name = "crossbeam-epoch"
133 version = "0.8.0"
146 version = "0.8.2"
134 147 source = "registry+https://github.com/rust-lang/crates.io-index"
135 148 dependencies = [
136 "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
149 "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
137 150 "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
138 "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
151 "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
139 152 "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
153 "maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
140 154 "memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
141 "scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
155 "scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
142 156 ]
143 157
144 158 [[package]]
145 159 name = "crossbeam-queue"
146 160 version = "0.2.1"
147 161 source = "registry+https://github.com/rust-lang/crates.io-index"
148 162 dependencies = [
149 163 "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
150 "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
164 "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
151 165 ]
152 166
153 167 [[package]]
154 168 name = "crossbeam-utils"
155 version = "0.7.0"
169 version = "0.7.2"
156 170 source = "registry+https://github.com/rust-lang/crates.io-index"
157 171 dependencies = [
158 "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
172 "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
159 173 "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
160 174 "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
161 175 ]
162 176
163 177 [[package]]
164 178 name = "ctor"
165 version = "0.1.12"
179 version = "0.1.13"
166 180 source = "registry+https://github.com/rust-lang/crates.io-index"
167 181 dependencies = [
168 "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
169 "syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
182 "quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
183 "syn 1.0.16 (registry+https://github.com/rust-lang/crates.io-index)",
170 184 ]
171 185
172 186 [[package]]
173 187 name = "difference"
174 188 version = "2.0.0"
175 189 source = "registry+https://github.com/rust-lang/crates.io-index"
176 190
177 191 [[package]]
178 192 name = "either"
179 193 version = "1.5.3"
180 194 source = "registry+https://github.com/rust-lang/crates.io-index"
181 195
182 196 [[package]]
183 197 name = "fuchsia-cprng"
184 198 version = "0.1.1"
185 199 source = "registry+https://github.com/rust-lang/crates.io-index"
186 200
187 201 [[package]]
188 202 name = "getrandom"
189 203 version = "0.1.14"
190 204 source = "registry+https://github.com/rust-lang/crates.io-index"
191 205 dependencies = [
192 206 "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
193 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
207 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
194 208 "wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)",
195 209 ]
196 210
197 211 [[package]]
198 212 name = "hermit-abi"
199 version = "0.1.6"
213 version = "0.1.8"
200 214 source = "registry+https://github.com/rust-lang/crates.io-index"
201 215 dependencies = [
202 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
216 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
203 217 ]
204 218
205 219 [[package]]
206 220 name = "hex"
207 version = "0.4.0"
221 version = "0.4.2"
208 222 source = "registry+https://github.com/rust-lang/crates.io-index"
209 223
210 224 [[package]]
211 225 name = "hg-core"
212 226 version = "0.1.0"
213 227 dependencies = [
214 "byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
228 "byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
215 229 "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)",
216 230 "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
217 231 "crossbeam 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
218 "hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
232 "hex 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
219 233 "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
220 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
221 "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
234 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
235 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
236 "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
222 237 "memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
223 238 "pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
224 239 "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
225 240 "rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
226 241 "rayon 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
227 242 "regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
228 243 "same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
229 244 "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
230 245 "twox-hash 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
231 246 ]
232 247
233 248 [[package]]
234 249 name = "hg-cpython"
235 250 version = "0.1.0"
236 251 dependencies = [
237 252 "cpython 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
238 253 "hg-core 0.1.0",
239 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
254 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
255 "simple_logger 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
240 256 ]
241 257
242 258 [[package]]
243 259 name = "lazy_static"
244 260 version = "1.4.0"
245 261 source = "registry+https://github.com/rust-lang/crates.io-index"
246 262
247 263 [[package]]
248 264 name = "libc"
249 version = "0.2.66"
265 version = "0.2.67"
250 266 source = "registry+https://github.com/rust-lang/crates.io-index"
251 267
252 268 [[package]]
269 name = "log"
270 version = "0.4.8"
271 source = "registry+https://github.com/rust-lang/crates.io-index"
272 dependencies = [
273 "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
274 ]
275
276 [[package]]
253 277 name = "maybe-uninit"
254 278 version = "2.0.0"
255 279 source = "registry+https://github.com/rust-lang/crates.io-index"
256 280
257 281 [[package]]
258 282 name = "memchr"
259 version = "2.3.0"
283 version = "2.3.3"
260 284 source = "registry+https://github.com/rust-lang/crates.io-index"
261 285
262 286 [[package]]
263 287 name = "memmap"
264 288 version = "0.7.0"
265 289 source = "registry+https://github.com/rust-lang/crates.io-index"
266 290 dependencies = [
267 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
291 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
268 292 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
269 293 ]
270 294
271 295 [[package]]
272 296 name = "memoffset"
273 297 version = "0.5.3"
274 298 source = "registry+https://github.com/rust-lang/crates.io-index"
275 299 dependencies = [
276 300 "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
277 301 ]
278 302
279 303 [[package]]
304 name = "num-integer"
305 version = "0.1.42"
306 source = "registry+https://github.com/rust-lang/crates.io-index"
307 dependencies = [
308 "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
309 "num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
310 ]
311
312 [[package]]
280 313 name = "num-traits"
281 314 version = "0.2.11"
282 315 source = "registry+https://github.com/rust-lang/crates.io-index"
283 316 dependencies = [
284 317 "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
285 318 ]
286 319
287 320 [[package]]
288 321 name = "num_cpus"
289 322 version = "1.12.0"
290 323 source = "registry+https://github.com/rust-lang/crates.io-index"
291 324 dependencies = [
292 "hermit-abi 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
293 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
325 "hermit-abi 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
326 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
294 327 ]
295 328
296 329 [[package]]
297 330 name = "output_vt100"
298 331 version = "0.1.2"
299 332 source = "registry+https://github.com/rust-lang/crates.io-index"
300 333 dependencies = [
301 334 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
302 335 ]
303 336
304 337 [[package]]
305 338 name = "ppv-lite86"
306 339 version = "0.2.6"
307 340 source = "registry+https://github.com/rust-lang/crates.io-index"
308 341
309 342 [[package]]
310 343 name = "pretty_assertions"
311 344 version = "0.6.1"
312 345 source = "registry+https://github.com/rust-lang/crates.io-index"
313 346 dependencies = [
314 347 "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
315 "ctor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
348 "ctor 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
316 349 "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
317 350 "output_vt100 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
318 351 ]
319 352
320 353 [[package]]
321 354 name = "proc-macro2"
322 version = "1.0.8"
355 version = "1.0.9"
323 356 source = "registry+https://github.com/rust-lang/crates.io-index"
324 357 dependencies = [
325 358 "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
326 359 ]
327 360
328 361 [[package]]
329 362 name = "python27-sys"
330 363 version = "0.4.1"
331 364 source = "registry+https://github.com/rust-lang/crates.io-index"
332 365 dependencies = [
333 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
366 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
334 367 "regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
335 368 ]
336 369
337 370 [[package]]
338 371 name = "python3-sys"
339 372 version = "0.4.1"
340 373 source = "registry+https://github.com/rust-lang/crates.io-index"
341 374 dependencies = [
342 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
375 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
343 376 "regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
344 377 ]
345 378
346 379 [[package]]
347 380 name = "quote"
348 version = "1.0.2"
381 version = "1.0.3"
349 382 source = "registry+https://github.com/rust-lang/crates.io-index"
350 383 dependencies = [
351 "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
384 "proc-macro2 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)",
352 385 ]
353 386
354 387 [[package]]
355 388 name = "rand"
356 389 version = "0.6.5"
357 390 source = "registry+https://github.com/rust-lang/crates.io-index"
358 391 dependencies = [
359 392 "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
360 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
393 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
361 394 "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
362 395 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
363 396 "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
364 397 "rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
365 398 "rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
366 399 "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
367 400 "rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
368 401 "rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
369 402 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
370 403 ]
371 404
372 405 [[package]]
373 406 name = "rand"
374 407 version = "0.7.3"
375 408 source = "registry+https://github.com/rust-lang/crates.io-index"
376 409 dependencies = [
377 410 "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
378 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
379 "rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
411 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
412 "rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
380 413 "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
381 414 "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
382 415 ]
383 416
384 417 [[package]]
385 418 name = "rand_chacha"
386 419 version = "0.1.1"
387 420 source = "registry+https://github.com/rust-lang/crates.io-index"
388 421 dependencies = [
389 422 "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
390 423 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
391 424 ]
392 425
393 426 [[package]]
394 427 name = "rand_chacha"
395 version = "0.2.1"
428 version = "0.2.2"
396 429 source = "registry+https://github.com/rust-lang/crates.io-index"
397 430 dependencies = [
398 "c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
431 "ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
399 432 "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
400 433 ]
401 434
402 435 [[package]]
403 436 name = "rand_core"
404 437 version = "0.3.1"
405 438 source = "registry+https://github.com/rust-lang/crates.io-index"
406 439 dependencies = [
407 440 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
408 441 ]
409 442
410 443 [[package]]
411 444 name = "rand_core"
412 445 version = "0.4.2"
413 446 source = "registry+https://github.com/rust-lang/crates.io-index"
414 447
415 448 [[package]]
416 449 name = "rand_core"
417 450 version = "0.5.1"
418 451 source = "registry+https://github.com/rust-lang/crates.io-index"
419 452 dependencies = [
420 453 "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
421 454 ]
422 455
423 456 [[package]]
424 457 name = "rand_hc"
425 458 version = "0.1.0"
426 459 source = "registry+https://github.com/rust-lang/crates.io-index"
427 460 dependencies = [
428 461 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
429 462 ]
430 463
431 464 [[package]]
432 465 name = "rand_hc"
433 466 version = "0.2.0"
434 467 source = "registry+https://github.com/rust-lang/crates.io-index"
435 468 dependencies = [
436 469 "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
437 470 ]
438 471
439 472 [[package]]
440 473 name = "rand_isaac"
441 474 version = "0.1.1"
442 475 source = "registry+https://github.com/rust-lang/crates.io-index"
443 476 dependencies = [
444 477 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
445 478 ]
446 479
447 480 [[package]]
448 481 name = "rand_jitter"
449 482 version = "0.1.4"
450 483 source = "registry+https://github.com/rust-lang/crates.io-index"
451 484 dependencies = [
452 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
485 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
453 486 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
454 487 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
455 488 ]
456 489
457 490 [[package]]
458 491 name = "rand_os"
459 492 version = "0.1.3"
460 493 source = "registry+https://github.com/rust-lang/crates.io-index"
461 494 dependencies = [
462 495 "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
463 496 "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
464 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
497 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
465 498 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
466 499 "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
467 500 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
468 501 ]
469 502
470 503 [[package]]
471 504 name = "rand_pcg"
472 505 version = "0.1.2"
473 506 source = "registry+https://github.com/rust-lang/crates.io-index"
474 507 dependencies = [
475 508 "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
476 509 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
477 510 ]
478 511
479 512 [[package]]
480 513 name = "rand_xorshift"
481 514 version = "0.1.1"
482 515 source = "registry+https://github.com/rust-lang/crates.io-index"
483 516 dependencies = [
484 517 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
485 518 ]
486 519
487 520 [[package]]
488 521 name = "rayon"
489 522 version = "1.3.0"
490 523 source = "registry+https://github.com/rust-lang/crates.io-index"
491 524 dependencies = [
492 "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
525 "crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
493 526 "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
494 527 "rayon-core 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
495 528 ]
496 529
497 530 [[package]]
498 531 name = "rayon-core"
499 532 version = "1.7.0"
500 533 source = "registry+https://github.com/rust-lang/crates.io-index"
501 534 dependencies = [
502 "crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
535 "crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
503 536 "crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
504 "crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
537 "crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
505 538 "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
506 539 "num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
507 540 ]
508 541
509 542 [[package]]
510 543 name = "rdrand"
511 544 version = "0.4.0"
512 545 source = "registry+https://github.com/rust-lang/crates.io-index"
513 546 dependencies = [
514 547 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
515 548 ]
516 549
517 550 [[package]]
518 551 name = "redox_syscall"
519 552 version = "0.1.56"
520 553 source = "registry+https://github.com/rust-lang/crates.io-index"
521 554
522 555 [[package]]
523 556 name = "regex"
524 557 version = "1.3.4"
525 558 source = "registry+https://github.com/rust-lang/crates.io-index"
526 559 dependencies = [
527 "aho-corasick 0.7.8 (registry+https://github.com/rust-lang/crates.io-index)",
528 "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
529 "regex-syntax 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)",
560 "aho-corasick 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)",
561 "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
562 "regex-syntax 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)",
530 563 "thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
531 564 ]
532 565
533 566 [[package]]
534 567 name = "regex-syntax"
535 version = "0.6.14"
568 version = "0.6.16"
536 569 source = "registry+https://github.com/rust-lang/crates.io-index"
537 570
538 571 [[package]]
539 572 name = "remove_dir_all"
540 573 version = "0.5.2"
541 574 source = "registry+https://github.com/rust-lang/crates.io-index"
542 575 dependencies = [
543 576 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
544 577 ]
545 578
546 579 [[package]]
547 580 name = "rustc_version"
548 581 version = "0.2.3"
549 582 source = "registry+https://github.com/rust-lang/crates.io-index"
550 583 dependencies = [
551 584 "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
552 585 ]
553 586
554 587 [[package]]
555 588 name = "same-file"
556 589 version = "1.0.6"
557 590 source = "registry+https://github.com/rust-lang/crates.io-index"
558 591 dependencies = [
559 592 "winapi-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
560 593 ]
561 594
562 595 [[package]]
563 596 name = "scopeguard"
564 version = "1.0.0"
597 version = "1.1.0"
565 598 source = "registry+https://github.com/rust-lang/crates.io-index"
566 599
567 600 [[package]]
568 601 name = "semver"
569 602 version = "0.9.0"
570 603 source = "registry+https://github.com/rust-lang/crates.io-index"
571 604 dependencies = [
572 605 "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
573 606 ]
574 607
575 608 [[package]]
576 609 name = "semver-parser"
577 610 version = "0.7.0"
578 611 source = "registry+https://github.com/rust-lang/crates.io-index"
579 612
580 613 [[package]]
614 name = "simple_logger"
615 version = "1.6.0"
616 source = "registry+https://github.com/rust-lang/crates.io-index"
617 dependencies = [
618 "atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
619 "chrono 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)",
620 "colored 1.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
621 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
622 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
623 ]
624
625 [[package]]
581 626 name = "strsim"
582 627 version = "0.8.0"
583 628 source = "registry+https://github.com/rust-lang/crates.io-index"
584 629
585 630 [[package]]
586 631 name = "syn"
587 version = "1.0.14"
632 version = "1.0.16"
588 633 source = "registry+https://github.com/rust-lang/crates.io-index"
589 634 dependencies = [
590 "proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
591 "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
635 "proc-macro2 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)",
636 "quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
592 637 "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
593 638 ]
594 639
595 640 [[package]]
596 641 name = "tempfile"
597 642 version = "3.1.0"
598 643 source = "registry+https://github.com/rust-lang/crates.io-index"
599 644 dependencies = [
600 645 "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
601 "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)",
646 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
602 647 "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
603 648 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
604 649 "remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
605 650 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
606 651 ]
607 652
608 653 [[package]]
609 654 name = "textwrap"
610 655 version = "0.11.0"
611 656 source = "registry+https://github.com/rust-lang/crates.io-index"
612 657 dependencies = [
613 658 "unicode-width 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
614 659 ]
615 660
616 661 [[package]]
617 662 name = "thread_local"
618 663 version = "1.0.1"
619 664 source = "registry+https://github.com/rust-lang/crates.io-index"
620 665 dependencies = [
621 666 "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
622 667 ]
623 668
624 669 [[package]]
670 name = "time"
671 version = "0.1.42"
672 source = "registry+https://github.com/rust-lang/crates.io-index"
673 dependencies = [
674 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
675 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
676 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
677 ]
678
679 [[package]]
625 680 name = "twox-hash"
626 681 version = "1.5.0"
627 682 source = "registry+https://github.com/rust-lang/crates.io-index"
628 683 dependencies = [
629 684 "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
630 685 ]
631 686
632 687 [[package]]
633 688 name = "unicode-width"
634 689 version = "0.1.7"
635 690 source = "registry+https://github.com/rust-lang/crates.io-index"
636 691
637 692 [[package]]
638 693 name = "unicode-xid"
639 694 version = "0.2.0"
640 695 source = "registry+https://github.com/rust-lang/crates.io-index"
641 696
642 697 [[package]]
643 698 name = "vec_map"
644 699 version = "0.8.1"
645 700 source = "registry+https://github.com/rust-lang/crates.io-index"
646 701
647 702 [[package]]
648 703 name = "wasi"
649 704 version = "0.9.0+wasi-snapshot-preview1"
650 705 source = "registry+https://github.com/rust-lang/crates.io-index"
651 706
652 707 [[package]]
653 708 name = "winapi"
654 709 version = "0.3.8"
655 710 source = "registry+https://github.com/rust-lang/crates.io-index"
656 711 dependencies = [
657 712 "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
658 713 "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
659 714 ]
660 715
661 716 [[package]]
662 717 name = "winapi-i686-pc-windows-gnu"
663 718 version = "0.4.0"
664 719 source = "registry+https://github.com/rust-lang/crates.io-index"
665 720
666 721 [[package]]
667 722 name = "winapi-util"
668 723 version = "0.1.3"
669 724 source = "registry+https://github.com/rust-lang/crates.io-index"
670 725 dependencies = [
671 726 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
672 727 ]
673 728
674 729 [[package]]
675 730 name = "winapi-x86_64-pc-windows-gnu"
676 731 version = "0.4.0"
677 732 source = "registry+https://github.com/rust-lang/crates.io-index"
678 733
679 734 [metadata]
680 "checksum aho-corasick 0.7.8 (registry+https://github.com/rust-lang/crates.io-index)" = "743ad5a418686aad3b87fd14c43badd828cf26e214a00f92a384291cf22e1811"
735 "checksum aho-corasick 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)" = "8716408b8bc624ed7f65d223ddb9ac2d044c0547b6fa4b0d554f3a9540496ada"
681 736 "checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
682 737 "checksum atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
683 738 "checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"
684 739 "checksum autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
685 740 "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
686 "checksum byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5"
687 "checksum c2-chacha 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "214238caa1bf3a496ec3392968969cab8549f96ff30652c9e56885329315f6bb"
741 "checksum byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
688 742 "checksum cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)" = "95e28fa049fda1c330bcf9d723be7663a899c4679724b34c81e9f5a326aab8cd"
689 743 "checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
744 "checksum chrono 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)" = "80094f509cf8b5ae86a4966a39b3ff66cd7e2a3e594accec3743ff3fabeab5b2"
690 745 "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
691 746 "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
747 "checksum colored 1.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59"
692 748 "checksum cpython 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bfaf3847ab963e40c4f6dd8d6be279bdf74007ae2413786a0dcbb28c52139a95"
693 749 "checksum crossbeam 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e"
694 750 "checksum crossbeam-channel 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "cced8691919c02aac3cb0a1bc2e9b73d89e832bf9a06fc579d4e71b68a2da061"
695 "checksum crossbeam-deque 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3aa945d63861bfe624b55d153a39684da1e8c0bc8fba932f7ee3a3c16cea3ca"
696 "checksum crossbeam-epoch 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5064ebdbf05ce3cb95e45c8b086f72263f4166b29b97f6baff7ef7fe047b55ac"
751 "checksum crossbeam-deque 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285"
752 "checksum crossbeam-epoch 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"
697 753 "checksum crossbeam-queue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c695eeca1e7173472a32221542ae469b3e9aac3a4fc81f7696bcad82029493db"
698 "checksum crossbeam-utils 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ce446db02cdc3165b94ae73111e570793400d0794e46125cc4056c81cbb039f4"
699 "checksum ctor 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "cd8ce37ad4184ab2ce004c33bf6379185d3b1c95801cab51026bd271bf68eedc"
754 "checksum crossbeam-utils 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
755 "checksum ctor 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "47c5e5ac752e18207b12e16b10631ae5f7f68f8805f335f9b817ead83d9ffce1"
700 756 "checksum difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
701 757 "checksum either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"
702 758 "checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
703 759 "checksum getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
704 "checksum hermit-abi 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "eff2656d88f158ce120947499e971d743c05dbcbed62e5bd2f38f1698bbc3772"
705 "checksum hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "023b39be39e3a2da62a94feb433e91e8bcd37676fbc8bea371daf52b7a769a3e"
760 "checksum hermit-abi 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "1010591b26bbfe835e9faeabeb11866061cc7dcebffd56ad7d0942d0e61aefd8"
761 "checksum hex 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35"
706 762 "checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
707 "checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558"
763 "checksum libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)" = "eb147597cdf94ed43ab7a9038716637d2d1bf2bc571da995d0028dec06bd3018"
764 "checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"
708 765 "checksum maybe-uninit 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
709 "checksum memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3197e20c7edb283f87c071ddfc7a2cca8f8e0b888c242959846a6fce03c72223"
766 "checksum memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
710 767 "checksum memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b"
711 768 "checksum memoffset 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "75189eb85871ea5c2e2c15abbdd541185f63b408415e5051f5cac122d8c774b9"
769 "checksum num-integer 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "3f6ea62e9d81a77cd3ee9a2a5b9b609447857f3d358704331e4ef39eb247fcba"
712 770 "checksum num-traits 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "c62be47e61d1842b9170f0fdeec8eba98e60e90e5446449a0545e5152acd7096"
713 771 "checksum num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46203554f085ff89c235cd12f7075f3233af9b11ed7c9e16dfe2560d03313ce6"
714 772 "checksum output_vt100 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "53cdc5b785b7a58c5aad8216b3dfa114df64b0b06ae6e1501cef91df2fbdf8f9"
715 773 "checksum ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b"
716 774 "checksum pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3f81e1644e1b54f5a68959a29aa86cde704219254669da328ecfdf6a1f09d427"
717 "checksum proc-macro2 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3acb317c6ff86a4e579dfa00fc5e6cca91ecbb4e7eb2df0468805b674eb88548"
775 "checksum proc-macro2 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)" = "6c09721c6781493a2a492a96b5a5bf19b65917fe6728884e7c44dd0c60ca3435"
718 776 "checksum python27-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "67cb041de8615111bf224dd75667af5f25c6e032118251426fed7f1b70ce4c8c"
719 777 "checksum python3-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90af11779515a1e530af60782d273b59ac79d33b0e253c071a728563957c76d4"
720 "checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"
778 "checksum quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f"
721 779 "checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"
722 780 "checksum rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
723 781 "checksum rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef"
724 "checksum rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853"
782 "checksum rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
725 783 "checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
726 784 "checksum rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc"
727 785 "checksum rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
728 786 "checksum rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
729 787 "checksum rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
730 788 "checksum rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
731 789 "checksum rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b"
732 790 "checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
733 791 "checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"
734 792 "checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c"
735 793 "checksum rayon 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "db6ce3297f9c85e16621bb8cca38a06779ffc31bb8184e1be4bed2be4678a098"
736 794 "checksum rayon-core 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "08a89b46efaf957e52b18062fb2f4660f8b8a4dde1807ca002690868ef2c85a9"
737 795 "checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
738 796 "checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84"
739 797 "checksum regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "322cf97724bea3ee221b78fe25ac9c46114ebb51747ad5babd51a2fc6a8235a8"
740 "checksum regex-syntax 0.6.14 (registry+https://github.com/rust-lang/crates.io-index)" = "b28dfe3fe9badec5dbf0a79a9cccad2cfc2ab5484bdb3e44cbd1ae8b3ba2be06"
798 "checksum regex-syntax 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)" = "1132f845907680735a84409c3bebc64d1364a5683ffbce899550cd09d5eaefc1"
741 799 "checksum remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e"
742 800 "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
743 801 "checksum same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
744 "checksum scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d"
802 "checksum scopeguard 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
745 803 "checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
746 804 "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
805 "checksum simple_logger 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fea0c4611f32f4c2bac73754f22dca1f57e6c1945e0590dae4e5f2a077b92367"
747 806 "checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
748 "checksum syn 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)" = "af6f3550d8dff9ef7dc34d384ac6f107e5d31c8f57d9f28e0081503f547ac8f5"
807 "checksum syn 1.0.16 (registry+https://github.com/rust-lang/crates.io-index)" = "123bd9499cfb380418d509322d7a6d52e5315f064fe4b3ad18a53d6b92c07859"
749 808 "checksum tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
750 809 "checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
751 810 "checksum thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14"
811 "checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f"
752 812 "checksum twox-hash 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3bfd5b7557925ce778ff9b9ef90e3ade34c524b5ff10e239c69a42d546d2af56"
753 813 "checksum unicode-width 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479"
754 814 "checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
755 815 "checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
756 816 "checksum wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)" = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
757 817 "checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
758 818 "checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
759 819 "checksum winapi-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4ccfbf554c6ad11084fb7517daca16cfdcaccbdadba4fc336f032a8b12c2ad80"
760 820 "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
@@ -1,37 +1,38
1 1 [package]
2 2 name = "hg-core"
3 3 version = "0.1.0"
4 4 authors = ["Georges Racinet <gracinet@anybox.fr>"]
5 5 description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)"
6 6 edition = "2018"
7 7 build = "build.rs"
8 8
9 9 [lib]
10 10 name = "hg"
11 11
12 12 [dependencies]
13 13 byteorder = "1.3.1"
14 14 hex = "0.4.0"
15 15 lazy_static = "1.3.0"
16 16 libc = { version = "0.2.66", optional = true }
17 17 memchr = "2.2.0"
18 18 rand = "0.6.5"
19 19 rand_pcg = "0.1.1"
20 20 rayon = "1.3.0"
21 21 regex = "1.1.0"
22 22 twox-hash = "1.5.0"
23 23 same-file = "1.0.6"
24 24 crossbeam = "0.7.3"
25 log = "0.4.8"
25 26
26 27 [dev-dependencies]
27 28 clap = "*"
28 29 memmap = "0.7.0"
29 30 pretty_assertions = "0.6.1"
30 31 tempfile = "3.1.0"
31 32
32 33 [build-dependencies]
33 34 cc = { version = "1.0.48", optional = true }
34 35
35 36 [features]
36 37 default = []
37 38 with-re2 = ["cc", "libc"]
@@ -1,30 +1,31
1 1 [package]
2 2 name = "hg-cpython"
3 3 version = "0.1.0"
4 4 authors = ["Georges Racinet <gracinet@anybox.fr>"]
5 5 edition = "2018"
6 6
7 7 [lib]
8 8 name='rusthg'
9 9 crate-type = ["cdylib"]
10 10
11 11 [features]
12 12 default = ["python27"]
13 13 with-re2 = ["hg-core/with-re2"]
14 14
15 15 # Features to build an extension module:
16 16 python27 = ["cpython/python27-sys", "cpython/extension-module-2-7"]
17 17 python3 = ["cpython/python3-sys", "cpython/extension-module"]
18 18
19 19 # Enable one of these features to build a test executable linked to libpython:
20 20 # e.g. cargo test --no-default-features --features python27-bin
21 21 python27-bin = ["cpython/python27-sys"]
22 22 python3-bin = ["cpython/python3-sys"]
23 23
24 24 [dependencies]
25 25 hg-core = { path = "../hg-core"}
26 26 libc = '*'
27 simple_logger = "1.6.0"
27 28
28 29 [dependencies.cpython]
29 30 version = "0.4"
30 31 default-features = false
@@ -1,144 +1,146
1 1 // dirstate.rs
2 2 //
3 3 // Copyright 2019 Raphaël Gomès <rgomes@octobus.net>
4 4 //
5 5 // This software may be used and distributed according to the terms of the
6 6 // GNU General Public License version 2 or any later version.
7 7
8 8 //! Bindings for the `hg::dirstate` module provided by the
9 9 //! `hg-core` package.
10 10 //!
11 11 //! From Python, this will be seen as `mercurial.rustext.dirstate`
12 12 mod copymap;
13 13 mod dirs_multiset;
14 14 mod dirstate_map;
15 15 mod non_normal_entries;
16 16 mod status;
17 17 use crate::{
18 18 dirstate::{
19 19 dirs_multiset::Dirs, dirstate_map::DirstateMap, status::status_wrapper,
20 20 },
21 21 exceptions,
22 22 };
23 23 use cpython::{
24 24 exc, PyBytes, PyDict, PyErr, PyList, PyModule, PyObject, PyResult,
25 25 PySequence, Python,
26 26 };
27 27 use hg::{
28 28 utils::hg_path::HgPathBuf, DirstateEntry, DirstateParseError, EntryState,
29 29 StateMap,
30 30 };
31 31 use libc::{c_char, c_int};
32 32 use std::convert::TryFrom;
33 33
34 34 // C code uses a custom `dirstate_tuple` type, checks in multiple instances
35 35 // for this type, and raises a Python `Exception` if the check does not pass.
36 36 // Because this type differs only in name from the regular Python tuple, it
37 37 // would be a good idea in the near future to remove it entirely to allow
38 38 // for a pure Python tuple of the same effective structure to be used,
39 39 // rendering this type and the capsule below useless.
40 40 py_capsule_fn!(
41 41 from mercurial.cext.parsers import make_dirstate_tuple_CAPI
42 42 as make_dirstate_tuple_capi
43 43 signature (
44 44 state: c_char,
45 45 mode: c_int,
46 46 size: c_int,
47 47 mtime: c_int,
48 48 ) -> *mut RawPyObject
49 49 );
50 50
51 51 pub fn make_dirstate_tuple(
52 52 py: Python,
53 53 entry: &DirstateEntry,
54 54 ) -> PyResult<PyObject> {
55 55 // might be silly to retrieve capsule function in hot loop
56 56 let make = make_dirstate_tuple_capi::retrieve(py)?;
57 57
58 58 let &DirstateEntry {
59 59 state,
60 60 mode,
61 61 size,
62 62 mtime,
63 63 } = entry;
64 64 // Explicitly go through u8 first, then cast to platform-specific `c_char`
65 65 // because Into<u8> has a specific implementation while `as c_char` would
66 66 // just do a naive enum cast.
67 67 let state_code: u8 = state.into();
68 68
69 69 let maybe_obj = unsafe {
70 70 let ptr = make(state_code as c_char, mode, size, mtime);
71 71 PyObject::from_owned_ptr_opt(py, ptr)
72 72 };
73 73 maybe_obj.ok_or_else(|| PyErr::fetch(py))
74 74 }
75 75
76 76 pub fn extract_dirstate(py: Python, dmap: &PyDict) -> Result<StateMap, PyErr> {
77 77 dmap.items(py)
78 78 .iter()
79 79 .map(|(filename, stats)| {
80 80 let stats = stats.extract::<PySequence>(py)?;
81 81 let state = stats.get_item(py, 0)?.extract::<PyBytes>(py)?;
82 82 let state = EntryState::try_from(state.data(py)[0]).map_err(
83 83 |e: DirstateParseError| {
84 84 PyErr::new::<exc::ValueError, _>(py, e.to_string())
85 85 },
86 86 )?;
87 87 let mode = stats.get_item(py, 1)?.extract(py)?;
88 88 let size = stats.get_item(py, 2)?.extract(py)?;
89 89 let mtime = stats.get_item(py, 3)?.extract(py)?;
90 90 let filename = filename.extract::<PyBytes>(py)?;
91 91 let filename = filename.data(py);
92 92 Ok((
93 93 HgPathBuf::from(filename.to_owned()),
94 94 DirstateEntry {
95 95 state,
96 96 mode,
97 97 size,
98 98 mtime,
99 99 },
100 100 ))
101 101 })
102 102 .collect()
103 103 }
104 104
105 105 /// Create the module, with `__package__` given from parent
106 106 pub fn init_module(py: Python, package: &str) -> PyResult<PyModule> {
107 107 let dotted_name = &format!("{}.dirstate", package);
108 108 let m = PyModule::new(py, dotted_name)?;
109 109
110 simple_logger::init_by_env();
111
110 112 m.add(py, "__package__", package)?;
111 113 m.add(py, "__doc__", "Dirstate - Rust implementation")?;
112 114
113 115 m.add(
114 116 py,
115 117 "FallbackError",
116 118 py.get_type::<exceptions::FallbackError>(),
117 119 )?;
118 120 m.add_class::<Dirs>(py)?;
119 121 m.add_class::<DirstateMap>(py)?;
120 122 m.add(
121 123 py,
122 124 "status",
123 125 py_fn!(
124 126 py,
125 127 status_wrapper(
126 128 dmap: DirstateMap,
127 129 root_dir: PyObject,
128 130 matcher: PyObject,
129 131 ignorefiles: PyList,
130 132 check_exec: bool,
131 133 last_normal_time: i64,
132 134 list_clean: bool,
133 135 list_ignored: bool,
134 136 list_unknown: bool
135 137 )
136 138 ),
137 139 )?;
138 140
139 141 let sys = PyModule::import(py, "sys")?;
140 142 let sys_modules: PyDict = sys.get(py, "modules")?.extract(py)?;
141 143 sys_modules.set_item(py, dotted_name, &m)?;
142 144
143 145 Ok(m)
144 146 }
General Comments 0
You need to be logged in to leave comments. Login now