##// END OF EJS Templates
rust-hg-core: move from `ouroboros` to `self_cell`...
Raphaël Gomès -
r51575:2cc5de26 default
parent child Browse files
Show More
@@ -1,1454 +1,1425 b''
1 1 # This file is automatically @generated by Cargo.
2 2 # It is not intended for manual editing.
3 3 version = 3
4 4
5 5 [[package]]
6 name = "Inflector"
7 version = "0.11.4"
8 source = "registry+https://github.com/rust-lang/crates.io-index"
9 checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
10
11 [[package]]
12 6 name = "adler"
13 7 version = "1.0.2"
14 8 source = "registry+https://github.com/rust-lang/crates.io-index"
15 9 checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
16 10
17 11 [[package]]
18 12 name = "ahash"
19 13 version = "0.8.2"
20 14 source = "registry+https://github.com/rust-lang/crates.io-index"
21 15 checksum = "bf6ccdb167abbf410dcb915cabd428929d7f6a04980b54a11f26a39f1c7f7107"
22 16 dependencies = [
23 17 "cfg-if",
24 18 "once_cell",
25 19 "version_check",
26 20 ]
27 21
28 22 [[package]]
29 23 name = "aho-corasick"
30 24 version = "0.7.19"
31 25 source = "registry+https://github.com/rust-lang/crates.io-index"
32 26 checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e"
33 27 dependencies = [
34 28 "memchr",
35 29 ]
36 30
37 31 [[package]]
38 name = "aliasable"
39 version = "0.1.3"
40 source = "registry+https://github.com/rust-lang/crates.io-index"
41 checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd"
42
43 [[package]]
44 32 name = "android_system_properties"
45 33 version = "0.1.5"
46 34 source = "registry+https://github.com/rust-lang/crates.io-index"
47 35 checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
48 36 dependencies = [
49 37 "libc",
50 38 ]
51 39
52 40 [[package]]
53 41 name = "atty"
54 42 version = "0.2.14"
55 43 source = "registry+https://github.com/rust-lang/crates.io-index"
56 44 checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
57 45 dependencies = [
58 46 "hermit-abi",
59 47 "libc",
60 48 "winapi",
61 49 ]
62 50
63 51 [[package]]
64 52 name = "autocfg"
65 53 version = "1.1.0"
66 54 source = "registry+https://github.com/rust-lang/crates.io-index"
67 55 checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
68 56
69 57 [[package]]
70 58 name = "bitflags"
71 59 version = "1.3.2"
72 60 source = "registry+https://github.com/rust-lang/crates.io-index"
73 61 checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
74 62
75 63 [[package]]
76 64 name = "bitmaps"
77 65 version = "2.1.0"
78 66 source = "registry+https://github.com/rust-lang/crates.io-index"
79 67 checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2"
80 68 dependencies = [
81 69 "typenum",
82 70 ]
83 71
84 72 [[package]]
85 73 name = "block-buffer"
86 74 version = "0.9.0"
87 75 source = "registry+https://github.com/rust-lang/crates.io-index"
88 76 checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
89 77 dependencies = [
90 78 "generic-array",
91 79 ]
92 80
93 81 [[package]]
94 82 name = "block-buffer"
95 83 version = "0.10.3"
96 84 source = "registry+https://github.com/rust-lang/crates.io-index"
97 85 checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e"
98 86 dependencies = [
99 87 "generic-array",
100 88 ]
101 89
102 90 [[package]]
103 91 name = "bumpalo"
104 92 version = "3.11.1"
105 93 source = "registry+https://github.com/rust-lang/crates.io-index"
106 94 checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba"
107 95
108 96 [[package]]
109 97 name = "byteorder"
110 98 version = "1.4.3"
111 99 source = "registry+https://github.com/rust-lang/crates.io-index"
112 100 checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
113 101
114 102 [[package]]
115 103 name = "bytes-cast"
116 104 version = "0.3.0"
117 105 source = "registry+https://github.com/rust-lang/crates.io-index"
118 106 checksum = "a20de93b91d7703ca0e39e12930e310acec5ff4d715f4166e0ab026babb352e8"
119 107 dependencies = [
120 108 "bytes-cast-derive",
121 109 ]
122 110
123 111 [[package]]
124 112 name = "bytes-cast-derive"
125 113 version = "0.2.0"
126 114 source = "registry+https://github.com/rust-lang/crates.io-index"
127 115 checksum = "7470a6fcce58cde3d62cce758bf71007978b75247e6becd9255c9b884bcb4f71"
128 116 dependencies = [
129 117 "proc-macro2",
130 118 "quote",
131 119 "syn",
132 120 ]
133 121
134 122 [[package]]
135 123 name = "cc"
136 124 version = "1.0.76"
137 125 source = "registry+https://github.com/rust-lang/crates.io-index"
138 126 checksum = "76a284da2e6fe2092f2353e51713435363112dfd60030e22add80be333fb928f"
139 127 dependencies = [
140 128 "jobserver",
141 129 ]
142 130
143 131 [[package]]
144 132 name = "cfg-if"
145 133 version = "1.0.0"
146 134 source = "registry+https://github.com/rust-lang/crates.io-index"
147 135 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
148 136
149 137 [[package]]
150 138 name = "chrono"
151 139 version = "0.4.23"
152 140 source = "registry+https://github.com/rust-lang/crates.io-index"
153 141 checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f"
154 142 dependencies = [
155 143 "iana-time-zone",
156 144 "js-sys",
157 145 "num-integer",
158 146 "num-traits",
159 147 "time",
160 148 "wasm-bindgen",
161 149 "winapi",
162 150 ]
163 151
164 152 [[package]]
165 153 name = "clap"
166 154 version = "4.0.24"
167 155 source = "registry+https://github.com/rust-lang/crates.io-index"
168 156 checksum = "60494cedb60cb47462c0ff7be53de32c0e42a6fc2c772184554fa12bd9489c03"
169 157 dependencies = [
170 158 "atty",
171 159 "bitflags",
172 160 "clap_derive",
173 161 "clap_lex",
174 162 "once_cell",
175 163 "strsim",
176 164 "termcolor",
177 165 ]
178 166
179 167 [[package]]
180 168 name = "clap_derive"
181 169 version = "4.0.21"
182 170 source = "registry+https://github.com/rust-lang/crates.io-index"
183 171 checksum = "0177313f9f02afc995627906bbd8967e2be069f5261954222dac78290c2b9014"
184 172 dependencies = [
185 173 "heck",
186 174 "proc-macro-error",
187 175 "proc-macro2",
188 176 "quote",
189 177 "syn",
190 178 ]
191 179
192 180 [[package]]
193 181 name = "clap_lex"
194 182 version = "0.3.0"
195 183 source = "registry+https://github.com/rust-lang/crates.io-index"
196 184 checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8"
197 185 dependencies = [
198 186 "os_str_bytes",
199 187 ]
200 188
201 189 [[package]]
202 190 name = "codespan-reporting"
203 191 version = "0.11.1"
204 192 source = "registry+https://github.com/rust-lang/crates.io-index"
205 193 checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e"
206 194 dependencies = [
207 195 "termcolor",
208 196 "unicode-width",
209 197 ]
210 198
211 199 [[package]]
212 200 name = "convert_case"
213 201 version = "0.4.0"
214 202 source = "registry+https://github.com/rust-lang/crates.io-index"
215 203 checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
216 204
217 205 [[package]]
218 206 name = "core-foundation-sys"
219 207 version = "0.8.3"
220 208 source = "registry+https://github.com/rust-lang/crates.io-index"
221 209 checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
222 210
223 211 [[package]]
224 212 name = "cpufeatures"
225 213 version = "0.2.5"
226 214 source = "registry+https://github.com/rust-lang/crates.io-index"
227 215 checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320"
228 216 dependencies = [
229 217 "libc",
230 218 ]
231 219
232 220 [[package]]
233 221 name = "cpython"
234 222 version = "0.7.1"
235 223 source = "registry+https://github.com/rust-lang/crates.io-index"
236 224 checksum = "3052106c29da7390237bc2310c1928335733b286287754ea85e6093d2495280e"
237 225 dependencies = [
238 226 "libc",
239 227 "num-traits",
240 228 "paste",
241 229 "python3-sys",
242 230 ]
243 231
244 232 [[package]]
245 233 name = "crc32fast"
246 234 version = "1.3.2"
247 235 source = "registry+https://github.com/rust-lang/crates.io-index"
248 236 checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
249 237 dependencies = [
250 238 "cfg-if",
251 239 ]
252 240
253 241 [[package]]
254 242 name = "crossbeam-channel"
255 243 version = "0.5.6"
256 244 source = "registry+https://github.com/rust-lang/crates.io-index"
257 245 checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521"
258 246 dependencies = [
259 247 "cfg-if",
260 248 "crossbeam-utils",
261 249 ]
262 250
263 251 [[package]]
264 252 name = "crossbeam-deque"
265 253 version = "0.8.2"
266 254 source = "registry+https://github.com/rust-lang/crates.io-index"
267 255 checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc"
268 256 dependencies = [
269 257 "cfg-if",
270 258 "crossbeam-epoch",
271 259 "crossbeam-utils",
272 260 ]
273 261
274 262 [[package]]
275 263 name = "crossbeam-epoch"
276 264 version = "0.9.11"
277 265 source = "registry+https://github.com/rust-lang/crates.io-index"
278 266 checksum = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348"
279 267 dependencies = [
280 268 "autocfg",
281 269 "cfg-if",
282 270 "crossbeam-utils",
283 271 "memoffset",
284 272 "scopeguard",
285 273 ]
286 274
287 275 [[package]]
288 276 name = "crossbeam-utils"
289 277 version = "0.8.12"
290 278 source = "registry+https://github.com/rust-lang/crates.io-index"
291 279 checksum = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac"
292 280 dependencies = [
293 281 "cfg-if",
294 282 ]
295 283
296 284 [[package]]
297 285 name = "crypto-common"
298 286 version = "0.1.6"
299 287 source = "registry+https://github.com/rust-lang/crates.io-index"
300 288 checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
301 289 dependencies = [
302 290 "generic-array",
303 291 "typenum",
304 292 ]
305 293
306 294 [[package]]
307 295 name = "ctor"
308 296 version = "0.1.26"
309 297 source = "registry+https://github.com/rust-lang/crates.io-index"
310 298 checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096"
311 299 dependencies = [
312 300 "quote",
313 301 "syn",
314 302 ]
315 303
316 304 [[package]]
317 305 name = "cxx"
318 306 version = "1.0.81"
319 307 source = "registry+https://github.com/rust-lang/crates.io-index"
320 308 checksum = "97abf9f0eca9e52b7f81b945524e76710e6cb2366aead23b7d4fbf72e281f888"
321 309 dependencies = [
322 310 "cc",
323 311 "cxxbridge-flags",
324 312 "cxxbridge-macro",
325 313 "link-cplusplus",
326 314 ]
327 315
328 316 [[package]]
329 317 name = "cxx-build"
330 318 version = "1.0.81"
331 319 source = "registry+https://github.com/rust-lang/crates.io-index"
332 320 checksum = "7cc32cc5fea1d894b77d269ddb9f192110069a8a9c1f1d441195fba90553dea3"
333 321 dependencies = [
334 322 "cc",
335 323 "codespan-reporting",
336 324 "once_cell",
337 325 "proc-macro2",
338 326 "quote",
339 327 "scratch",
340 328 "syn",
341 329 ]
342 330
343 331 [[package]]
344 332 name = "cxxbridge-flags"
345 333 version = "1.0.81"
346 334 source = "registry+https://github.com/rust-lang/crates.io-index"
347 335 checksum = "8ca220e4794c934dc6b1207c3b42856ad4c302f2df1712e9f8d2eec5afaacf1f"
348 336
349 337 [[package]]
350 338 name = "cxxbridge-macro"
351 339 version = "1.0.81"
352 340 source = "registry+https://github.com/rust-lang/crates.io-index"
353 341 checksum = "b846f081361125bfc8dc9d3940c84e1fd83ba54bbca7b17cd29483c828be0704"
354 342 dependencies = [
355 343 "proc-macro2",
356 344 "quote",
357 345 "syn",
358 346 ]
359 347
360 348 [[package]]
361 349 name = "derive_more"
362 350 version = "0.99.17"
363 351 source = "registry+https://github.com/rust-lang/crates.io-index"
364 352 checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
365 353 dependencies = [
366 354 "convert_case",
367 355 "proc-macro2",
368 356 "quote",
369 357 "rustc_version",
370 358 "syn",
371 359 ]
372 360
373 361 [[package]]
374 362 name = "diff"
375 363 version = "0.1.13"
376 364 source = "registry+https://github.com/rust-lang/crates.io-index"
377 365 checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
378 366
379 367 [[package]]
380 368 name = "digest"
381 369 version = "0.9.0"
382 370 source = "registry+https://github.com/rust-lang/crates.io-index"
383 371 checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
384 372 dependencies = [
385 373 "generic-array",
386 374 ]
387 375
388 376 [[package]]
389 377 name = "digest"
390 378 version = "0.10.5"
391 379 source = "registry+https://github.com/rust-lang/crates.io-index"
392 380 checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c"
393 381 dependencies = [
394 382 "block-buffer 0.10.3",
395 383 "crypto-common",
396 384 ]
397 385
398 386 [[package]]
399 387 name = "either"
400 388 version = "1.8.0"
401 389 source = "registry+https://github.com/rust-lang/crates.io-index"
402 390 checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
403 391
404 392 [[package]]
405 393 name = "env_logger"
406 394 version = "0.9.3"
407 395 source = "registry+https://github.com/rust-lang/crates.io-index"
408 396 checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7"
409 397 dependencies = [
410 398 "atty",
411 399 "humantime",
412 400 "log",
413 401 "regex",
414 402 "termcolor",
415 403 ]
416 404
417 405 [[package]]
418 406 name = "fastrand"
419 407 version = "1.8.0"
420 408 source = "registry+https://github.com/rust-lang/crates.io-index"
421 409 checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499"
422 410 dependencies = [
423 411 "instant",
424 412 ]
425 413
426 414 [[package]]
427 415 name = "flate2"
428 416 version = "1.0.24"
429 417 source = "registry+https://github.com/rust-lang/crates.io-index"
430 418 checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6"
431 419 dependencies = [
432 420 "crc32fast",
433 421 "libz-sys",
434 422 "miniz_oxide",
435 423 ]
436 424
437 425 [[package]]
438 426 name = "format-bytes"
439 427 version = "0.3.0"
440 428 source = "registry+https://github.com/rust-lang/crates.io-index"
441 429 checksum = "48942366ef93975da38e175ac9e10068c6fc08ca9e85930d4f098f4d5b14c2fd"
442 430 dependencies = [
443 431 "format-bytes-macros",
444 432 ]
445 433
446 434 [[package]]
447 435 name = "format-bytes-macros"
448 436 version = "0.4.0"
449 437 source = "registry+https://github.com/rust-lang/crates.io-index"
450 438 checksum = "203aadebefcc73d12038296c228eabf830f99cba991b0032adf20e9fa6ce7e4f"
451 439 dependencies = [
452 440 "proc-macro2",
453 441 "quote",
454 442 "syn",
455 443 ]
456 444
457 445 [[package]]
458 446 name = "generic-array"
459 447 version = "0.14.6"
460 448 source = "registry+https://github.com/rust-lang/crates.io-index"
461 449 checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9"
462 450 dependencies = [
463 451 "typenum",
464 452 "version_check",
465 453 ]
466 454
467 455 [[package]]
468 456 name = "getrandom"
469 457 version = "0.1.16"
470 458 source = "registry+https://github.com/rust-lang/crates.io-index"
471 459 checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
472 460 dependencies = [
473 461 "cfg-if",
474 462 "libc",
475 463 "wasi 0.9.0+wasi-snapshot-preview1",
476 464 ]
477 465
478 466 [[package]]
479 467 name = "getrandom"
480 468 version = "0.2.8"
481 469 source = "registry+https://github.com/rust-lang/crates.io-index"
482 470 checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
483 471 dependencies = [
484 472 "cfg-if",
485 473 "libc",
486 474 "wasi 0.11.0+wasi-snapshot-preview1",
487 475 ]
488 476
489 477 [[package]]
490 478 name = "hashbrown"
491 479 version = "0.13.1"
492 480 source = "registry+https://github.com/rust-lang/crates.io-index"
493 481 checksum = "33ff8ae62cd3a9102e5637afc8452c55acf3844001bd5374e0b0bd7b6616c038"
494 482 dependencies = [
495 483 "ahash",
496 484 "rayon",
497 485 ]
498 486
499 487 [[package]]
500 488 name = "heck"
501 489 version = "0.4.0"
502 490 source = "registry+https://github.com/rust-lang/crates.io-index"
503 491 checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
504 492
505 493 [[package]]
506 494 name = "hermit-abi"
507 495 version = "0.1.19"
508 496 source = "registry+https://github.com/rust-lang/crates.io-index"
509 497 checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
510 498 dependencies = [
511 499 "libc",
512 500 ]
513 501
514 502 [[package]]
515 503 name = "hex"
516 504 version = "0.4.3"
517 505 source = "registry+https://github.com/rust-lang/crates.io-index"
518 506 checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
519 507
520 508 [[package]]
521 509 name = "hg-core"
522 510 version = "0.1.0"
523 511 dependencies = [
524 512 "bitflags",
525 513 "byteorder",
526 514 "bytes-cast",
527 515 "clap",
528 516 "crossbeam-channel",
529 517 "derive_more",
530 518 "flate2",
531 519 "format-bytes",
532 520 "hashbrown",
533 521 "home",
534 522 "im-rc",
535 523 "itertools",
536 524 "lazy_static",
537 525 "libc",
538 526 "log",
539 527 "logging_timer",
540 528 "memmap2",
541 529 "once_cell",
542 "ouroboros",
543 530 "pretty_assertions",
544 531 "rand 0.8.5",
545 532 "rand_distr",
546 533 "rand_pcg",
547 534 "rayon",
548 535 "regex",
549 536 "same-file",
537 "self_cell",
550 538 "sha-1 0.10.0",
551 539 "tempfile",
552 540 "thread_local",
553 541 "twox-hash",
554 542 "zstd",
555 543 ]
556 544
557 545 [[package]]
558 546 name = "hg-cpython"
559 547 version = "0.1.0"
560 548 dependencies = [
561 549 "cpython",
562 550 "crossbeam-channel",
563 551 "env_logger",
564 552 "hg-core",
565 553 "libc",
566 554 "log",
567 555 "stable_deref_trait",
568 556 "vcsgraph",
569 557 ]
570 558
571 559 [[package]]
572 560 name = "home"
573 561 version = "0.5.4"
574 562 source = "registry+https://github.com/rust-lang/crates.io-index"
575 563 checksum = "747309b4b440c06d57b0b25f2aee03ee9b5e5397d288c60e21fc709bb98a7408"
576 564 dependencies = [
577 565 "winapi",
578 566 ]
579 567
580 568 [[package]]
581 569 name = "humantime"
582 570 version = "2.1.0"
583 571 source = "registry+https://github.com/rust-lang/crates.io-index"
584 572 checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
585 573
586 574 [[package]]
587 575 name = "iana-time-zone"
588 576 version = "0.1.53"
589 577 source = "registry+https://github.com/rust-lang/crates.io-index"
590 578 checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765"
591 579 dependencies = [
592 580 "android_system_properties",
593 581 "core-foundation-sys",
594 582 "iana-time-zone-haiku",
595 583 "js-sys",
596 584 "wasm-bindgen",
597 585 "winapi",
598 586 ]
599 587
600 588 [[package]]
601 589 name = "iana-time-zone-haiku"
602 590 version = "0.1.1"
603 591 source = "registry+https://github.com/rust-lang/crates.io-index"
604 592 checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca"
605 593 dependencies = [
606 594 "cxx",
607 595 "cxx-build",
608 596 ]
609 597
610 598 [[package]]
611 599 name = "im-rc"
612 600 version = "15.1.0"
613 601 source = "registry+https://github.com/rust-lang/crates.io-index"
614 602 checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe"
615 603 dependencies = [
616 604 "bitmaps",
617 605 "rand_core 0.6.4",
618 606 "rand_xoshiro",
619 607 "sized-chunks",
620 608 "typenum",
621 609 "version_check",
622 610 ]
623 611
624 612 [[package]]
625 613 name = "instant"
626 614 version = "0.1.12"
627 615 source = "registry+https://github.com/rust-lang/crates.io-index"
628 616 checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
629 617 dependencies = [
630 618 "cfg-if",
631 619 ]
632 620
633 621 [[package]]
634 622 name = "itertools"
635 623 version = "0.10.5"
636 624 source = "registry+https://github.com/rust-lang/crates.io-index"
637 625 checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
638 626 dependencies = [
639 627 "either",
640 628 ]
641 629
642 630 [[package]]
643 631 name = "jobserver"
644 632 version = "0.1.25"
645 633 source = "registry+https://github.com/rust-lang/crates.io-index"
646 634 checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b"
647 635 dependencies = [
648 636 "libc",
649 637 ]
650 638
651 639 [[package]]
652 640 name = "js-sys"
653 641 version = "0.3.60"
654 642 source = "registry+https://github.com/rust-lang/crates.io-index"
655 643 checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47"
656 644 dependencies = [
657 645 "wasm-bindgen",
658 646 ]
659 647
660 648 [[package]]
661 649 name = "lazy_static"
662 650 version = "1.4.0"
663 651 source = "registry+https://github.com/rust-lang/crates.io-index"
664 652 checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
665 653
666 654 [[package]]
667 655 name = "libc"
668 656 version = "0.2.137"
669 657 source = "registry+https://github.com/rust-lang/crates.io-index"
670 658 checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89"
671 659
672 660 [[package]]
673 661 name = "libm"
674 662 version = "0.2.6"
675 663 source = "registry+https://github.com/rust-lang/crates.io-index"
676 664 checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb"
677 665
678 666 [[package]]
679 667 name = "libz-sys"
680 668 version = "1.1.8"
681 669 source = "registry+https://github.com/rust-lang/crates.io-index"
682 670 checksum = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf"
683 671 dependencies = [
684 672 "cc",
685 673 "pkg-config",
686 674 "vcpkg",
687 675 ]
688 676
689 677 [[package]]
690 678 name = "link-cplusplus"
691 679 version = "1.0.7"
692 680 source = "registry+https://github.com/rust-lang/crates.io-index"
693 681 checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369"
694 682 dependencies = [
695 683 "cc",
696 684 ]
697 685
698 686 [[package]]
699 687 name = "log"
700 688 version = "0.4.17"
701 689 source = "registry+https://github.com/rust-lang/crates.io-index"
702 690 checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
703 691 dependencies = [
704 692 "cfg-if",
705 693 ]
706 694
707 695 [[package]]
708 696 name = "logging_timer"
709 697 version = "1.1.0"
710 698 source = "registry+https://github.com/rust-lang/crates.io-index"
711 699 checksum = "64e96f261d684b7089aa576bb74e823241dccd994b27d30fabf1dcb3af284fe9"
712 700 dependencies = [
713 701 "log",
714 702 "logging_timer_proc_macros",
715 703 ]
716 704
717 705 [[package]]
718 706 name = "logging_timer_proc_macros"
719 707 version = "1.1.0"
720 708 source = "registry+https://github.com/rust-lang/crates.io-index"
721 709 checksum = "10a9062912d7952c5588cc474795e0b9ee008e7e6781127945b85413d4b99d81"
722 710 dependencies = [
723 711 "log",
724 712 "proc-macro2",
725 713 "quote",
726 714 "syn",
727 715 ]
728 716
729 717 [[package]]
730 718 name = "memchr"
731 719 version = "2.5.0"
732 720 source = "registry+https://github.com/rust-lang/crates.io-index"
733 721 checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
734 722
735 723 [[package]]
736 724 name = "memmap2"
737 725 version = "0.5.8"
738 726 source = "registry+https://github.com/rust-lang/crates.io-index"
739 727 checksum = "4b182332558b18d807c4ce1ca8ca983b34c3ee32765e47b3f0f69b90355cc1dc"
740 728 dependencies = [
741 729 "libc",
742 730 "stable_deref_trait",
743 731 ]
744 732
745 733 [[package]]
746 734 name = "memoffset"
747 735 version = "0.6.5"
748 736 source = "registry+https://github.com/rust-lang/crates.io-index"
749 737 checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
750 738 dependencies = [
751 739 "autocfg",
752 740 ]
753 741
754 742 [[package]]
755 743 name = "miniz_oxide"
756 744 version = "0.5.4"
757 745 source = "registry+https://github.com/rust-lang/crates.io-index"
758 746 checksum = "96590ba8f175222643a85693f33d26e9c8a015f599c216509b1a6894af675d34"
759 747 dependencies = [
760 748 "adler",
761 749 ]
762 750
763 751 [[package]]
764 752 name = "num-integer"
765 753 version = "0.1.45"
766 754 source = "registry+https://github.com/rust-lang/crates.io-index"
767 755 checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
768 756 dependencies = [
769 757 "autocfg",
770 758 "num-traits",
771 759 ]
772 760
773 761 [[package]]
774 762 name = "num-traits"
775 763 version = "0.2.15"
776 764 source = "registry+https://github.com/rust-lang/crates.io-index"
777 765 checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
778 766 dependencies = [
779 767 "autocfg",
780 768 "libm",
781 769 ]
782 770
783 771 [[package]]
784 772 name = "num_cpus"
785 773 version = "1.14.0"
786 774 source = "registry+https://github.com/rust-lang/crates.io-index"
787 775 checksum = "f6058e64324c71e02bc2b150e4f3bc8286db6c83092132ffa3f6b1eab0f9def5"
788 776 dependencies = [
789 777 "hermit-abi",
790 778 "libc",
791 779 ]
792 780
793 781 [[package]]
794 782 name = "once_cell"
795 783 version = "1.16.0"
796 784 source = "registry+https://github.com/rust-lang/crates.io-index"
797 785 checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860"
798 786
799 787 [[package]]
800 788 name = "opaque-debug"
801 789 version = "0.3.0"
802 790 source = "registry+https://github.com/rust-lang/crates.io-index"
803 791 checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
804 792
805 793 [[package]]
806 794 name = "os_str_bytes"
807 795 version = "6.4.0"
808 796 source = "registry+https://github.com/rust-lang/crates.io-index"
809 797 checksum = "7b5bf27447411e9ee3ff51186bf7a08e16c341efdde93f4d823e8844429bed7e"
810 798
811 799 [[package]]
812 name = "ouroboros"
813 version = "0.15.5"
814 source = "registry+https://github.com/rust-lang/crates.io-index"
815 checksum = "dfbb50b356159620db6ac971c6d5c9ab788c9cc38a6f49619fca2a27acb062ca"
816 dependencies = [
817 "aliasable",
818 "ouroboros_macro",
819 ]
820
821 [[package]]
822 name = "ouroboros_macro"
823 version = "0.15.5"
824 source = "registry+https://github.com/rust-lang/crates.io-index"
825 checksum = "4a0d9d1a6191c4f391f87219d1ea42b23f09ee84d64763cd05ee6ea88d9f384d"
826 dependencies = [
827 "Inflector",
828 "proc-macro-error",
829 "proc-macro2",
830 "quote",
831 "syn",
832 ]
833
834 [[package]]
835 800 name = "output_vt100"
836 801 version = "0.1.3"
837 802 source = "registry+https://github.com/rust-lang/crates.io-index"
838 803 checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66"
839 804 dependencies = [
840 805 "winapi",
841 806 ]
842 807
843 808 [[package]]
844 809 name = "paste"
845 810 version = "1.0.9"
846 811 source = "registry+https://github.com/rust-lang/crates.io-index"
847 812 checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1"
848 813
849 814 [[package]]
850 815 name = "pkg-config"
851 816 version = "0.3.26"
852 817 source = "registry+https://github.com/rust-lang/crates.io-index"
853 818 checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
854 819
855 820 [[package]]
856 821 name = "ppv-lite86"
857 822 version = "0.2.17"
858 823 source = "registry+https://github.com/rust-lang/crates.io-index"
859 824 checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
860 825
861 826 [[package]]
862 827 name = "pretty_assertions"
863 828 version = "1.3.0"
864 829 source = "registry+https://github.com/rust-lang/crates.io-index"
865 830 checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755"
866 831 dependencies = [
867 832 "ctor",
868 833 "diff",
869 834 "output_vt100",
870 835 "yansi",
871 836 ]
872 837
873 838 [[package]]
874 839 name = "proc-macro-error"
875 840 version = "1.0.4"
876 841 source = "registry+https://github.com/rust-lang/crates.io-index"
877 842 checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
878 843 dependencies = [
879 844 "proc-macro-error-attr",
880 845 "proc-macro2",
881 846 "quote",
882 847 "syn",
883 848 "version_check",
884 849 ]
885 850
886 851 [[package]]
887 852 name = "proc-macro-error-attr"
888 853 version = "1.0.4"
889 854 source = "registry+https://github.com/rust-lang/crates.io-index"
890 855 checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
891 856 dependencies = [
892 857 "proc-macro2",
893 858 "quote",
894 859 "version_check",
895 860 ]
896 861
897 862 [[package]]
898 863 name = "proc-macro2"
899 864 version = "1.0.47"
900 865 source = "registry+https://github.com/rust-lang/crates.io-index"
901 866 checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725"
902 867 dependencies = [
903 868 "unicode-ident",
904 869 ]
905 870
906 871 [[package]]
907 872 name = "python3-sys"
908 873 version = "0.7.1"
909 874 source = "registry+https://github.com/rust-lang/crates.io-index"
910 875 checksum = "49f8b50d72fb3015735aa403eebf19bbd72c093bfeeae24ee798be5f2f1aab52"
911 876 dependencies = [
912 877 "libc",
913 878 "regex",
914 879 ]
915 880
916 881 [[package]]
917 882 name = "quote"
918 883 version = "1.0.21"
919 884 source = "registry+https://github.com/rust-lang/crates.io-index"
920 885 checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179"
921 886 dependencies = [
922 887 "proc-macro2",
923 888 ]
924 889
925 890 [[package]]
926 891 name = "rand"
927 892 version = "0.7.3"
928 893 source = "registry+https://github.com/rust-lang/crates.io-index"
929 894 checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
930 895 dependencies = [
931 896 "getrandom 0.1.16",
932 897 "libc",
933 898 "rand_chacha 0.2.2",
934 899 "rand_core 0.5.1",
935 900 "rand_hc",
936 901 ]
937 902
938 903 [[package]]
939 904 name = "rand"
940 905 version = "0.8.5"
941 906 source = "registry+https://github.com/rust-lang/crates.io-index"
942 907 checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
943 908 dependencies = [
944 909 "libc",
945 910 "rand_chacha 0.3.1",
946 911 "rand_core 0.6.4",
947 912 ]
948 913
949 914 [[package]]
950 915 name = "rand_chacha"
951 916 version = "0.2.2"
952 917 source = "registry+https://github.com/rust-lang/crates.io-index"
953 918 checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
954 919 dependencies = [
955 920 "ppv-lite86",
956 921 "rand_core 0.5.1",
957 922 ]
958 923
959 924 [[package]]
960 925 name = "rand_chacha"
961 926 version = "0.3.1"
962 927 source = "registry+https://github.com/rust-lang/crates.io-index"
963 928 checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
964 929 dependencies = [
965 930 "ppv-lite86",
966 931 "rand_core 0.6.4",
967 932 ]
968 933
969 934 [[package]]
970 935 name = "rand_core"
971 936 version = "0.5.1"
972 937 source = "registry+https://github.com/rust-lang/crates.io-index"
973 938 checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
974 939 dependencies = [
975 940 "getrandom 0.1.16",
976 941 ]
977 942
978 943 [[package]]
979 944 name = "rand_core"
980 945 version = "0.6.4"
981 946 source = "registry+https://github.com/rust-lang/crates.io-index"
982 947 checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
983 948 dependencies = [
984 949 "getrandom 0.2.8",
985 950 ]
986 951
987 952 [[package]]
988 953 name = "rand_distr"
989 954 version = "0.4.3"
990 955 source = "registry+https://github.com/rust-lang/crates.io-index"
991 956 checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31"
992 957 dependencies = [
993 958 "num-traits",
994 959 "rand 0.8.5",
995 960 ]
996 961
997 962 [[package]]
998 963 name = "rand_hc"
999 964 version = "0.2.0"
1000 965 source = "registry+https://github.com/rust-lang/crates.io-index"
1001 966 checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
1002 967 dependencies = [
1003 968 "rand_core 0.5.1",
1004 969 ]
1005 970
1006 971 [[package]]
1007 972 name = "rand_pcg"
1008 973 version = "0.3.1"
1009 974 source = "registry+https://github.com/rust-lang/crates.io-index"
1010 975 checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e"
1011 976 dependencies = [
1012 977 "rand_core 0.6.4",
1013 978 ]
1014 979
1015 980 [[package]]
1016 981 name = "rand_xoshiro"
1017 982 version = "0.6.0"
1018 983 source = "registry+https://github.com/rust-lang/crates.io-index"
1019 984 checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
1020 985 dependencies = [
1021 986 "rand_core 0.6.4",
1022 987 ]
1023 988
1024 989 [[package]]
1025 990 name = "rayon"
1026 991 version = "1.7.0"
1027 992 source = "registry+https://github.com/rust-lang/crates.io-index"
1028 993 checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
1029 994 dependencies = [
1030 995 "either",
1031 996 "rayon-core",
1032 997 ]
1033 998
1034 999 [[package]]
1035 1000 name = "rayon-core"
1036 1001 version = "1.11.0"
1037 1002 source = "registry+https://github.com/rust-lang/crates.io-index"
1038 1003 checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
1039 1004 dependencies = [
1040 1005 "crossbeam-channel",
1041 1006 "crossbeam-deque",
1042 1007 "crossbeam-utils",
1043 1008 "num_cpus",
1044 1009 ]
1045 1010
1046 1011 [[package]]
1047 1012 name = "redox_syscall"
1048 1013 version = "0.2.16"
1049 1014 source = "registry+https://github.com/rust-lang/crates.io-index"
1050 1015 checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
1051 1016 dependencies = [
1052 1017 "bitflags",
1053 1018 ]
1054 1019
1055 1020 [[package]]
1056 1021 name = "regex"
1057 1022 version = "1.7.0"
1058 1023 source = "registry+https://github.com/rust-lang/crates.io-index"
1059 1024 checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a"
1060 1025 dependencies = [
1061 1026 "aho-corasick",
1062 1027 "memchr",
1063 1028 "regex-syntax",
1064 1029 ]
1065 1030
1066 1031 [[package]]
1067 1032 name = "regex-syntax"
1068 1033 version = "0.6.28"
1069 1034 source = "registry+https://github.com/rust-lang/crates.io-index"
1070 1035 checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848"
1071 1036
1072 1037 [[package]]
1073 1038 name = "remove_dir_all"
1074 1039 version = "0.5.3"
1075 1040 source = "registry+https://github.com/rust-lang/crates.io-index"
1076 1041 checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
1077 1042 dependencies = [
1078 1043 "winapi",
1079 1044 ]
1080 1045
1081 1046 [[package]]
1082 1047 name = "rhg"
1083 1048 version = "0.1.0"
1084 1049 dependencies = [
1085 1050 "atty",
1086 1051 "chrono",
1087 1052 "clap",
1088 1053 "derive_more",
1089 1054 "env_logger",
1090 1055 "format-bytes",
1091 1056 "hg-core",
1092 1057 "home",
1093 1058 "lazy_static",
1094 1059 "log",
1095 1060 "logging_timer",
1096 1061 "rayon",
1097 1062 "regex",
1098 1063 "users",
1099 1064 "which",
1100 1065 ]
1101 1066
1102 1067 [[package]]
1103 1068 name = "rustc_version"
1104 1069 version = "0.4.0"
1105 1070 source = "registry+https://github.com/rust-lang/crates.io-index"
1106 1071 checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
1107 1072 dependencies = [
1108 1073 "semver",
1109 1074 ]
1110 1075
1111 1076 [[package]]
1112 1077 name = "same-file"
1113 1078 version = "1.0.6"
1114 1079 source = "registry+https://github.com/rust-lang/crates.io-index"
1115 1080 checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
1116 1081 dependencies = [
1117 1082 "winapi-util",
1118 1083 ]
1119 1084
1120 1085 [[package]]
1121 1086 name = "scopeguard"
1122 1087 version = "1.1.0"
1123 1088 source = "registry+https://github.com/rust-lang/crates.io-index"
1124 1089 checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
1125 1090
1126 1091 [[package]]
1127 1092 name = "scratch"
1128 1093 version = "1.0.2"
1129 1094 source = "registry+https://github.com/rust-lang/crates.io-index"
1130 1095 checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898"
1131 1096
1132 1097 [[package]]
1098 name = "self_cell"
1099 version = "1.0.0"
1100 source = "registry+https://github.com/rust-lang/crates.io-index"
1101 checksum = "4a3926e239738d36060909ffe6f511502f92149a45a1fade7fe031cb2d33e88b"
1102
1103 [[package]]
1133 1104 name = "semver"
1134 1105 version = "1.0.14"
1135 1106 source = "registry+https://github.com/rust-lang/crates.io-index"
1136 1107 checksum = "e25dfac463d778e353db5be2449d1cce89bd6fd23c9f1ea21310ce6e5a1b29c4"
1137 1108
1138 1109 [[package]]
1139 1110 name = "sha-1"
1140 1111 version = "0.9.8"
1141 1112 source = "registry+https://github.com/rust-lang/crates.io-index"
1142 1113 checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6"
1143 1114 dependencies = [
1144 1115 "block-buffer 0.9.0",
1145 1116 "cfg-if",
1146 1117 "cpufeatures",
1147 1118 "digest 0.9.0",
1148 1119 "opaque-debug",
1149 1120 ]
1150 1121
1151 1122 [[package]]
1152 1123 name = "sha-1"
1153 1124 version = "0.10.0"
1154 1125 source = "registry+https://github.com/rust-lang/crates.io-index"
1155 1126 checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f"
1156 1127 dependencies = [
1157 1128 "cfg-if",
1158 1129 "cpufeatures",
1159 1130 "digest 0.10.5",
1160 1131 ]
1161 1132
1162 1133 [[package]]
1163 1134 name = "sized-chunks"
1164 1135 version = "0.6.5"
1165 1136 source = "registry+https://github.com/rust-lang/crates.io-index"
1166 1137 checksum = "16d69225bde7a69b235da73377861095455d298f2b970996eec25ddbb42b3d1e"
1167 1138 dependencies = [
1168 1139 "bitmaps",
1169 1140 "typenum",
1170 1141 ]
1171 1142
1172 1143 [[package]]
1173 1144 name = "stable_deref_trait"
1174 1145 version = "1.2.0"
1175 1146 source = "registry+https://github.com/rust-lang/crates.io-index"
1176 1147 checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
1177 1148
1178 1149 [[package]]
1179 1150 name = "static_assertions"
1180 1151 version = "1.1.0"
1181 1152 source = "registry+https://github.com/rust-lang/crates.io-index"
1182 1153 checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
1183 1154
1184 1155 [[package]]
1185 1156 name = "strsim"
1186 1157 version = "0.10.0"
1187 1158 source = "registry+https://github.com/rust-lang/crates.io-index"
1188 1159 checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
1189 1160
1190 1161 [[package]]
1191 1162 name = "syn"
1192 1163 version = "1.0.103"
1193 1164 source = "registry+https://github.com/rust-lang/crates.io-index"
1194 1165 checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d"
1195 1166 dependencies = [
1196 1167 "proc-macro2",
1197 1168 "quote",
1198 1169 "unicode-ident",
1199 1170 ]
1200 1171
1201 1172 [[package]]
1202 1173 name = "tempfile"
1203 1174 version = "3.3.0"
1204 1175 source = "registry+https://github.com/rust-lang/crates.io-index"
1205 1176 checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4"
1206 1177 dependencies = [
1207 1178 "cfg-if",
1208 1179 "fastrand",
1209 1180 "libc",
1210 1181 "redox_syscall",
1211 1182 "remove_dir_all",
1212 1183 "winapi",
1213 1184 ]
1214 1185
1215 1186 [[package]]
1216 1187 name = "termcolor"
1217 1188 version = "1.1.3"
1218 1189 source = "registry+https://github.com/rust-lang/crates.io-index"
1219 1190 checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
1220 1191 dependencies = [
1221 1192 "winapi-util",
1222 1193 ]
1223 1194
1224 1195 [[package]]
1225 1196 name = "thread_local"
1226 1197 version = "1.1.4"
1227 1198 source = "registry+https://github.com/rust-lang/crates.io-index"
1228 1199 checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
1229 1200 dependencies = [
1230 1201 "once_cell",
1231 1202 ]
1232 1203
1233 1204 [[package]]
1234 1205 name = "time"
1235 1206 version = "0.1.44"
1236 1207 source = "registry+https://github.com/rust-lang/crates.io-index"
1237 1208 checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
1238 1209 dependencies = [
1239 1210 "libc",
1240 1211 "wasi 0.10.0+wasi-snapshot-preview1",
1241 1212 "winapi",
1242 1213 ]
1243 1214
1244 1215 [[package]]
1245 1216 name = "twox-hash"
1246 1217 version = "1.6.3"
1247 1218 source = "registry+https://github.com/rust-lang/crates.io-index"
1248 1219 checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
1249 1220 dependencies = [
1250 1221 "cfg-if",
1251 1222 "rand 0.8.5",
1252 1223 "static_assertions",
1253 1224 ]
1254 1225
1255 1226 [[package]]
1256 1227 name = "typenum"
1257 1228 version = "1.15.0"
1258 1229 source = "registry+https://github.com/rust-lang/crates.io-index"
1259 1230 checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987"
1260 1231
1261 1232 [[package]]
1262 1233 name = "unicode-ident"
1263 1234 version = "1.0.5"
1264 1235 source = "registry+https://github.com/rust-lang/crates.io-index"
1265 1236 checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3"
1266 1237
1267 1238 [[package]]
1268 1239 name = "unicode-width"
1269 1240 version = "0.1.10"
1270 1241 source = "registry+https://github.com/rust-lang/crates.io-index"
1271 1242 checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
1272 1243
1273 1244 [[package]]
1274 1245 name = "users"
1275 1246 version = "0.11.0"
1276 1247 source = "registry+https://github.com/rust-lang/crates.io-index"
1277 1248 checksum = "24cc0f6d6f267b73e5a2cadf007ba8f9bc39c6a6f9666f8cf25ea809a153b032"
1278 1249 dependencies = [
1279 1250 "libc",
1280 1251 "log",
1281 1252 ]
1282 1253
1283 1254 [[package]]
1284 1255 name = "vcpkg"
1285 1256 version = "0.2.15"
1286 1257 source = "registry+https://github.com/rust-lang/crates.io-index"
1287 1258 checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
1288 1259
1289 1260 [[package]]
1290 1261 name = "vcsgraph"
1291 1262 version = "0.2.0"
1292 1263 source = "registry+https://github.com/rust-lang/crates.io-index"
1293 1264 checksum = "4cb68c231e2575f7503a7c19213875f9d4ec2e84e963a56ce3de4b6bee351ef7"
1294 1265 dependencies = [
1295 1266 "hex",
1296 1267 "rand 0.7.3",
1297 1268 "sha-1 0.9.8",
1298 1269 ]
1299 1270
1300 1271 [[package]]
1301 1272 name = "version_check"
1302 1273 version = "0.9.4"
1303 1274 source = "registry+https://github.com/rust-lang/crates.io-index"
1304 1275 checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
1305 1276
1306 1277 [[package]]
1307 1278 name = "wasi"
1308 1279 version = "0.9.0+wasi-snapshot-preview1"
1309 1280 source = "registry+https://github.com/rust-lang/crates.io-index"
1310 1281 checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
1311 1282
1312 1283 [[package]]
1313 1284 name = "wasi"
1314 1285 version = "0.10.0+wasi-snapshot-preview1"
1315 1286 source = "registry+https://github.com/rust-lang/crates.io-index"
1316 1287 checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
1317 1288
1318 1289 [[package]]
1319 1290 name = "wasi"
1320 1291 version = "0.11.0+wasi-snapshot-preview1"
1321 1292 source = "registry+https://github.com/rust-lang/crates.io-index"
1322 1293 checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
1323 1294
1324 1295 [[package]]
1325 1296 name = "wasm-bindgen"
1326 1297 version = "0.2.83"
1327 1298 source = "registry+https://github.com/rust-lang/crates.io-index"
1328 1299 checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268"
1329 1300 dependencies = [
1330 1301 "cfg-if",
1331 1302 "wasm-bindgen-macro",
1332 1303 ]
1333 1304
1334 1305 [[package]]
1335 1306 name = "wasm-bindgen-backend"
1336 1307 version = "0.2.83"
1337 1308 source = "registry+https://github.com/rust-lang/crates.io-index"
1338 1309 checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142"
1339 1310 dependencies = [
1340 1311 "bumpalo",
1341 1312 "log",
1342 1313 "once_cell",
1343 1314 "proc-macro2",
1344 1315 "quote",
1345 1316 "syn",
1346 1317 "wasm-bindgen-shared",
1347 1318 ]
1348 1319
1349 1320 [[package]]
1350 1321 name = "wasm-bindgen-macro"
1351 1322 version = "0.2.83"
1352 1323 source = "registry+https://github.com/rust-lang/crates.io-index"
1353 1324 checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810"
1354 1325 dependencies = [
1355 1326 "quote",
1356 1327 "wasm-bindgen-macro-support",
1357 1328 ]
1358 1329
1359 1330 [[package]]
1360 1331 name = "wasm-bindgen-macro-support"
1361 1332 version = "0.2.83"
1362 1333 source = "registry+https://github.com/rust-lang/crates.io-index"
1363 1334 checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c"
1364 1335 dependencies = [
1365 1336 "proc-macro2",
1366 1337 "quote",
1367 1338 "syn",
1368 1339 "wasm-bindgen-backend",
1369 1340 "wasm-bindgen-shared",
1370 1341 ]
1371 1342
1372 1343 [[package]]
1373 1344 name = "wasm-bindgen-shared"
1374 1345 version = "0.2.83"
1375 1346 source = "registry+https://github.com/rust-lang/crates.io-index"
1376 1347 checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f"
1377 1348
1378 1349 [[package]]
1379 1350 name = "which"
1380 1351 version = "4.3.0"
1381 1352 source = "registry+https://github.com/rust-lang/crates.io-index"
1382 1353 checksum = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b"
1383 1354 dependencies = [
1384 1355 "either",
1385 1356 "libc",
1386 1357 "once_cell",
1387 1358 ]
1388 1359
1389 1360 [[package]]
1390 1361 name = "winapi"
1391 1362 version = "0.3.9"
1392 1363 source = "registry+https://github.com/rust-lang/crates.io-index"
1393 1364 checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
1394 1365 dependencies = [
1395 1366 "winapi-i686-pc-windows-gnu",
1396 1367 "winapi-x86_64-pc-windows-gnu",
1397 1368 ]
1398 1369
1399 1370 [[package]]
1400 1371 name = "winapi-i686-pc-windows-gnu"
1401 1372 version = "0.4.0"
1402 1373 source = "registry+https://github.com/rust-lang/crates.io-index"
1403 1374 checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1404 1375
1405 1376 [[package]]
1406 1377 name = "winapi-util"
1407 1378 version = "0.1.5"
1408 1379 source = "registry+https://github.com/rust-lang/crates.io-index"
1409 1380 checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
1410 1381 dependencies = [
1411 1382 "winapi",
1412 1383 ]
1413 1384
1414 1385 [[package]]
1415 1386 name = "winapi-x86_64-pc-windows-gnu"
1416 1387 version = "0.4.0"
1417 1388 source = "registry+https://github.com/rust-lang/crates.io-index"
1418 1389 checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1419 1390
1420 1391 [[package]]
1421 1392 name = "yansi"
1422 1393 version = "0.5.1"
1423 1394 source = "registry+https://github.com/rust-lang/crates.io-index"
1424 1395 checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
1425 1396
1426 1397 [[package]]
1427 1398 name = "zstd"
1428 1399 version = "0.12.3+zstd.1.5.2"
1429 1400 source = "registry+https://github.com/rust-lang/crates.io-index"
1430 1401 checksum = "76eea132fb024e0e13fd9c2f5d5d595d8a967aa72382ac2f9d39fcc95afd0806"
1431 1402 dependencies = [
1432 1403 "zstd-safe",
1433 1404 ]
1434 1405
1435 1406 [[package]]
1436 1407 name = "zstd-safe"
1437 1408 version = "6.0.4+zstd.1.5.4"
1438 1409 source = "registry+https://github.com/rust-lang/crates.io-index"
1439 1410 checksum = "7afb4b54b8910cf5447638cb54bf4e8a65cbedd783af98b98c62ffe91f185543"
1440 1411 dependencies = [
1441 1412 "libc",
1442 1413 "zstd-sys",
1443 1414 ]
1444 1415
1445 1416 [[package]]
1446 1417 name = "zstd-sys"
1447 1418 version = "2.0.7+zstd.1.5.4"
1448 1419 source = "registry+https://github.com/rust-lang/crates.io-index"
1449 1420 checksum = "94509c3ba2fe55294d752b79842c530ccfab760192521df74a081a78d2b3c7f5"
1450 1421 dependencies = [
1451 1422 "cc",
1452 1423 "libc",
1453 1424 "pkg-config",
1454 1425 ]
@@ -1,50 +1,50 b''
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 = "2021"
7 7
8 8 [lib]
9 9 name = "hg"
10 10
11 11 [dependencies]
12 12 bitflags = "1.3.2"
13 13 bytes-cast = "0.3.0"
14 14 byteorder = "1.4.3"
15 15 derive_more = "0.99.17"
16 16 hashbrown = { version = "0.13.1", features = ["rayon"] }
17 17 home = "0.5.4"
18 18 im-rc = "15.1.0"
19 19 itertools = "0.10.5"
20 20 lazy_static = "1.4.0"
21 21 libc = "0.2.137"
22 22 logging_timer = "1.1.0"
23 ouroboros = "0.15.5"
24 23 rand = "0.8.5"
25 24 rand_pcg = "0.3.1"
26 25 rand_distr = "0.4.3"
27 26 rayon = "1.7.0"
28 27 regex = "1.7.0"
28 self_cell = "1.0"
29 29 sha-1 = "0.10.0"
30 30 twox-hash = "1.6.3"
31 31 same-file = "1.0.6"
32 32 tempfile = "3.3.0"
33 33 thread_local = "1.1.4"
34 34 crossbeam-channel = "0.5.6"
35 35 log = "0.4.17"
36 36 memmap2 = { version = "0.5.8", features = ["stable_deref_trait"] }
37 37 zstd = "0.12"
38 38 format-bytes = "0.3.0"
39 39 once_cell = "1.16.0"
40 40
41 41 # We don't use the `miniz-oxide` backend to not change rhg benchmarks and until
42 42 # we have a clearer view of which backend is the fastest.
43 43 [dependencies.flate2]
44 44 version = "1.0.24"
45 45 features = ["zlib"]
46 46 default-features = false
47 47
48 48 [dev-dependencies]
49 49 clap = { version = "4.0.24", features = ["derive"] }
50 50 pretty_assertions = "1.1.0"
@@ -1,104 +1,91 b''
1 1 use crate::{DirstateError, DirstateParents};
2 2
3 3 use super::dirstate_map::DirstateMap;
4 use self_cell::self_cell;
4 5 use std::ops::Deref;
5 6
6 use ouroboros::self_referencing;
7
8 /// Keep a `DirstateMap<'on_disk>` next to the `on_disk` buffer that it
9 /// borrows.
10 #[self_referencing]
11 pub struct OwningDirstateMap {
12 on_disk: Box<dyn Deref<Target = [u8]> + Send>,
13 #[borrows(on_disk)]
14 #[covariant]
15 map: DirstateMap<'this>,
16 }
7 self_cell!(
8 /// Keep a `DirstateMap<'owner>` next to the `owner` buffer that it
9 /// borrows.
10 pub struct OwningDirstateMap {
11 owner: Box<dyn Deref<Target = [u8]> + Send>,
12 #[covariant]
13 dependent: DirstateMap,
14 }
15 );
17 16
18 17 impl OwningDirstateMap {
19 18 pub fn new_empty<OnDisk>(on_disk: OnDisk) -> Self
20 19 where
21 20 OnDisk: Deref<Target = [u8]> + Send + 'static,
22 21 {
23 22 let on_disk = Box::new(on_disk);
24 23
25 OwningDirstateMapBuilder {
26 on_disk,
27 map_builder: |bytes| DirstateMap::empty(bytes),
28 }
29 .build()
24 OwningDirstateMap::new(on_disk, |bytes| DirstateMap::empty(bytes))
30 25 }
31 26
32 27 pub fn new_v1<OnDisk>(
33 28 on_disk: OnDisk,
34 29 identity: Option<u64>,
35 30 ) -> Result<(Self, DirstateParents), DirstateError>
36 31 where
37 32 OnDisk: Deref<Target = [u8]> + Send + 'static,
38 33 {
39 34 let on_disk = Box::new(on_disk);
40 35 let mut parents = DirstateParents::NULL;
41 36
42 37 Ok((
43 OwningDirstateMapTryBuilder {
44 on_disk,
45 map_builder: |bytes| {
46 DirstateMap::new_v1(bytes, identity).map(|(dmap, p)| {
47 parents = p.unwrap_or(DirstateParents::NULL);
48 dmap
49 })
50 },
51 }
52 .try_build()?,
38 OwningDirstateMap::try_new(on_disk, |bytes| {
39 DirstateMap::new_v1(bytes, identity).map(|(dmap, p)| {
40 parents = p.unwrap_or(DirstateParents::NULL);
41 dmap
42 })
43 })?,
53 44 parents,
54 45 ))
55 46 }
56 47
57 48 pub fn new_v2<OnDisk>(
58 49 on_disk: OnDisk,
59 50 data_size: usize,
60 51 metadata: &[u8],
61 52 uuid: Vec<u8>,
62 53 identity: Option<u64>,
63 54 ) -> Result<Self, DirstateError>
64 55 where
65 56 OnDisk: Deref<Target = [u8]> + Send + 'static,
66 57 {
67 58 let on_disk = Box::new(on_disk);
68 59
69 OwningDirstateMapTryBuilder {
70 on_disk,
71 map_builder: |bytes| {
72 DirstateMap::new_v2(bytes, data_size, metadata, uuid, identity)
73 },
74 }
75 .try_build()
60 OwningDirstateMap::try_new(on_disk, |bytes| {
61 DirstateMap::new_v2(bytes, data_size, metadata, uuid, identity)
62 })
76 63 }
77 64
78 65 pub fn with_dmap_mut<R>(
79 66 &mut self,
80 67 f: impl FnOnce(&mut DirstateMap) -> R,
81 68 ) -> R {
82 self.with_map_mut(f)
69 self.with_dependent_mut(|_owner, dmap| f(dmap))
83 70 }
84 71
85 72 pub fn get_map(&self) -> &DirstateMap {
86 self.borrow_map()
73 self.borrow_dependent()
87 74 }
88 75
89 76 pub fn on_disk(&self) -> &[u8] {
90 self.borrow_on_disk()
77 self.borrow_owner()
91 78 }
92 79
93 80 pub fn old_uuid(&self) -> Option<&[u8]> {
94 81 self.get_map().old_uuid.as_deref()
95 82 }
96 83
97 84 pub fn old_identity(&self) -> Option<u64> {
98 85 self.get_map().identity
99 86 }
100 87
101 88 pub fn old_data_size(&self) -> usize {
102 89 self.get_map().old_data_size
103 90 }
104 91 }
General Comments 0
You need to be logged in to leave comments. Login now