##// END OF EJS Templates
rust: update all dependencies...
Raphaël Gomès -
r45090:d31d1c06 default
parent child Browse files
Show More
@@ -28,11 +28,6 b' dependencies = ['
28
28
29 [[package]]
29 [[package]]
30 name = "autocfg"
30 name = "autocfg"
31 version = "0.1.7"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
33
34 [[package]]
35 name = "autocfg"
36 version = "1.0.0"
31 version = "1.0.0"
37 source = "registry+https://github.com/rust-lang/crates.io-index"
32 source = "registry+https://github.com/rust-lang/crates.io-index"
38
33
@@ -81,14 +76,6 b' dependencies = ['
81 ]
76 ]
82
77
83 [[package]]
78 [[package]]
84 name = "cloudabi"
85 version = "0.0.3"
86 source = "registry+https://github.com/rust-lang/crates.io-index"
87 dependencies = [
88 "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
89 ]
90
91 [[package]]
92 name = "colored"
79 name = "colored"
93 version = "1.9.3"
80 version = "1.9.3"
94 source = "registry+https://github.com/rust-lang/crates.io-index"
81 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -194,11 +181,6 b' version = "1.5.3"'
194 source = "registry+https://github.com/rust-lang/crates.io-index"
181 source = "registry+https://github.com/rust-lang/crates.io-index"
195
182
196 [[package]]
183 [[package]]
197 name = "fuchsia-cprng"
198 version = "0.1.1"
199 source = "registry+https://github.com/rust-lang/crates.io-index"
200
201 [[package]]
202 name = "getrandom"
184 name = "getrandom"
203 version = "0.1.14"
185 version = "0.1.14"
204 source = "registry+https://github.com/rust-lang/crates.io-index"
186 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -237,10 +219,11 b' dependencies = ['
237 "memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
219 "memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
238 "micro-timer 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
220 "micro-timer 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
239 "pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
221 "pretty_assertions 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
240 "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
222 "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
241 "rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
223 "rand_distr 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
224 "rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
242 "rayon 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
225 "rayon 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
243 "regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
226 "regex 1.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
244 "same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
227 "same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
245 "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
228 "tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
246 "twox-hash 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
229 "twox-hash 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -386,7 +369,7 b' version = "0.4.1"'
386 source = "registry+https://github.com/rust-lang/crates.io-index"
369 source = "registry+https://github.com/rust-lang/crates.io-index"
387 dependencies = [
370 dependencies = [
388 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
371 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
389 "regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
372 "regex 1.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
390 ]
373 ]
391
374
392 [[package]]
375 [[package]]
@@ -395,7 +378,7 b' version = "0.4.1"'
395 source = "registry+https://github.com/rust-lang/crates.io-index"
378 source = "registry+https://github.com/rust-lang/crates.io-index"
396 dependencies = [
379 dependencies = [
397 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
380 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
398 "regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
381 "regex 1.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
399 ]
382 ]
400
383
401 [[package]]
384 [[package]]
@@ -408,24 +391,6 b' dependencies = ['
408
391
409 [[package]]
392 [[package]]
410 name = "rand"
393 name = "rand"
411 version = "0.6.5"
412 source = "registry+https://github.com/rust-lang/crates.io-index"
413 dependencies = [
414 "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
415 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
416 "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
417 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
418 "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
419 "rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
420 "rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
421 "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
422 "rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
423 "rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
424 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
425 ]
426
427 [[package]]
428 name = "rand"
429 version = "0.7.3"
394 version = "0.7.3"
430 source = "registry+https://github.com/rust-lang/crates.io-index"
395 source = "registry+https://github.com/rust-lang/crates.io-index"
431 dependencies = [
396 dependencies = [
@@ -438,15 +403,6 b' dependencies = ['
438
403
439 [[package]]
404 [[package]]
440 name = "rand_chacha"
405 name = "rand_chacha"
441 version = "0.1.1"
442 source = "registry+https://github.com/rust-lang/crates.io-index"
443 dependencies = [
444 "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
445 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
446 ]
447
448 [[package]]
449 name = "rand_chacha"
450 version = "0.2.2"
406 version = "0.2.2"
451 source = "registry+https://github.com/rust-lang/crates.io-index"
407 source = "registry+https://github.com/rust-lang/crates.io-index"
452 dependencies = [
408 dependencies = [
@@ -456,19 +412,6 b' dependencies = ['
456
412
457 [[package]]
413 [[package]]
458 name = "rand_core"
414 name = "rand_core"
459 version = "0.3.1"
460 source = "registry+https://github.com/rust-lang/crates.io-index"
461 dependencies = [
462 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
463 ]
464
465 [[package]]
466 name = "rand_core"
467 version = "0.4.2"
468 source = "registry+https://github.com/rust-lang/crates.io-index"
469
470 [[package]]
471 name = "rand_core"
472 version = "0.5.1"
415 version = "0.5.1"
473 source = "registry+https://github.com/rust-lang/crates.io-index"
416 source = "registry+https://github.com/rust-lang/crates.io-index"
474 dependencies = [
417 dependencies = [
@@ -476,11 +419,11 b' dependencies = ['
476 ]
419 ]
477
420
478 [[package]]
421 [[package]]
479 name = "rand_hc"
422 name = "rand_distr"
480 version = "0.1.0"
423 version = "0.2.2"
481 source = "registry+https://github.com/rust-lang/crates.io-index"
424 source = "registry+https://github.com/rust-lang/crates.io-index"
482 dependencies = [
425 dependencies = [
483 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
426 "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
484 ]
427 ]
485
428
486 [[package]]
429 [[package]]
@@ -492,51 +435,11 b' dependencies = ['
492 ]
435 ]
493
436
494 [[package]]
437 [[package]]
495 name = "rand_isaac"
438 name = "rand_pcg"
496 version = "0.1.1"
439 version = "0.2.1"
497 source = "registry+https://github.com/rust-lang/crates.io-index"
498 dependencies = [
499 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
500 ]
501
502 [[package]]
503 name = "rand_jitter"
504 version = "0.1.4"
505 source = "registry+https://github.com/rust-lang/crates.io-index"
506 dependencies = [
507 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
508 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
509 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
510 ]
511
512 [[package]]
513 name = "rand_os"
514 version = "0.1.3"
515 source = "registry+https://github.com/rust-lang/crates.io-index"
440 source = "registry+https://github.com/rust-lang/crates.io-index"
516 dependencies = [
441 dependencies = [
517 "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
442 "rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
518 "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
519 "libc 0.2.67 (registry+https://github.com/rust-lang/crates.io-index)",
520 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
521 "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
522 "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
523 ]
524
525 [[package]]
526 name = "rand_pcg"
527 version = "0.1.2"
528 source = "registry+https://github.com/rust-lang/crates.io-index"
529 dependencies = [
530 "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
531 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
532 ]
533
534 [[package]]
535 name = "rand_xorshift"
536 version = "0.1.1"
537 source = "registry+https://github.com/rust-lang/crates.io-index"
538 dependencies = [
539 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
540 ]
443 ]
541
444
542 [[package]]
445 [[package]]
@@ -562,32 +465,24 b' dependencies = ['
562 ]
465 ]
563
466
564 [[package]]
467 [[package]]
565 name = "rdrand"
566 version = "0.4.0"
567 source = "registry+https://github.com/rust-lang/crates.io-index"
568 dependencies = [
569 "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
570 ]
571
572 [[package]]
573 name = "redox_syscall"
468 name = "redox_syscall"
574 version = "0.1.56"
469 version = "0.1.56"
575 source = "registry+https://github.com/rust-lang/crates.io-index"
470 source = "registry+https://github.com/rust-lang/crates.io-index"
576
471
577 [[package]]
472 [[package]]
578 name = "regex"
473 name = "regex"
579 version = "1.3.4"
474 version = "1.3.6"
580 source = "registry+https://github.com/rust-lang/crates.io-index"
475 source = "registry+https://github.com/rust-lang/crates.io-index"
581 dependencies = [
476 dependencies = [
582 "aho-corasick 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)",
477 "aho-corasick 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)",
583 "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
478 "memchr 2.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
584 "regex-syntax 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)",
479 "regex-syntax 0.6.17 (registry+https://github.com/rust-lang/crates.io-index)",
585 "thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
480 "thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
586 ]
481 ]
587
482
588 [[package]]
483 [[package]]
589 name = "regex-syntax"
484 name = "regex-syntax"
590 version = "0.6.16"
485 version = "0.6.17"
591 source = "registry+https://github.com/rust-lang/crates.io-index"
486 source = "registry+https://github.com/rust-lang/crates.io-index"
592
487
593 [[package]]
488 [[package]]
@@ -757,7 +652,6 b' source = "registry+https://github.com/ru'
757 "checksum aho-corasick 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)" = "8716408b8bc624ed7f65d223ddb9ac2d044c0547b6fa4b0d554f3a9540496ada"
652 "checksum aho-corasick 0.7.10 (registry+https://github.com/rust-lang/crates.io-index)" = "8716408b8bc624ed7f65d223ddb9ac2d044c0547b6fa4b0d554f3a9540496ada"
758 "checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
653 "checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
759 "checksum atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
654 "checksum atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
760 "checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"
761 "checksum autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
655 "checksum autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
762 "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
656 "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
763 "checksum byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
657 "checksum byteorder 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
@@ -765,7 +659,6 b' source = "registry+https://github.com/ru'
765 "checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
659 "checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
766 "checksum chrono 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)" = "80094f509cf8b5ae86a4966a39b3ff66cd7e2a3e594accec3743ff3fabeab5b2"
660 "checksum chrono 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)" = "80094f509cf8b5ae86a4966a39b3ff66cd7e2a3e594accec3743ff3fabeab5b2"
767 "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
661 "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
768 "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
769 "checksum colored 1.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59"
662 "checksum colored 1.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f4ffc801dacf156c5854b9df4f425a626539c3a6ef7893cc0c5084a23f0b6c59"
770 "checksum cpython 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bfaf3847ab963e40c4f6dd8d6be279bdf74007ae2413786a0dcbb28c52139a95"
663 "checksum cpython 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bfaf3847ab963e40c4f6dd8d6be279bdf74007ae2413786a0dcbb28c52139a95"
771 "checksum crossbeam 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e"
664 "checksum crossbeam 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "69323bff1fb41c635347b8ead484a5ca6c3f11914d784170b158d8449ab07f8e"
@@ -777,7 +670,6 b' source = "registry+https://github.com/ru'
777 "checksum ctor 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "47c5e5ac752e18207b12e16b10631ae5f7f68f8805f335f9b817ead83d9ffce1"
670 "checksum ctor 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "47c5e5ac752e18207b12e16b10631ae5f7f68f8805f335f9b817ead83d9ffce1"
778 "checksum difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
671 "checksum difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
779 "checksum either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"
672 "checksum either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"
780 "checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
781 "checksum getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
673 "checksum getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
782 "checksum hermit-abi 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "1010591b26bbfe835e9faeabeb11866061cc7dcebffd56ad7d0942d0e61aefd8"
674 "checksum hermit-abi 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "1010591b26bbfe835e9faeabeb11866061cc7dcebffd56ad7d0942d0e61aefd8"
783 "checksum hex 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35"
675 "checksum hex 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35"
@@ -800,26 +692,17 b' source = "registry+https://github.com/ru'
800 "checksum python27-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "67cb041de8615111bf224dd75667af5f25c6e032118251426fed7f1b70ce4c8c"
692 "checksum python27-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "67cb041de8615111bf224dd75667af5f25c6e032118251426fed7f1b70ce4c8c"
801 "checksum python3-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90af11779515a1e530af60782d273b59ac79d33b0e253c071a728563957c76d4"
693 "checksum python3-sys 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90af11779515a1e530af60782d273b59ac79d33b0e253c071a728563957c76d4"
802 "checksum quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f"
694 "checksum quote 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2bdc6c187c65bca4260c9011c9e3132efe4909da44726bad24cf7572ae338d7f"
803 "checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"
804 "checksum rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
695 "checksum rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
805 "checksum rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef"
806 "checksum rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
696 "checksum rand_chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
807 "checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
808 "checksum rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc"
809 "checksum rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
697 "checksum rand_core 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
810 "checksum rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
698 "checksum rand_distr 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "96977acbdd3a6576fb1d27391900035bf3863d4a16422973a409b488cf29ffb2"
811 "checksum rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
699 "checksum rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
812 "checksum rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
700 "checksum rand_pcg 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
813 "checksum rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b"
814 "checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
815 "checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"
816 "checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c"
817 "checksum rayon 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "db6ce3297f9c85e16621bb8cca38a06779ffc31bb8184e1be4bed2be4678a098"
701 "checksum rayon 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "db6ce3297f9c85e16621bb8cca38a06779ffc31bb8184e1be4bed2be4678a098"
818 "checksum rayon-core 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "08a89b46efaf957e52b18062fb2f4660f8b8a4dde1807ca002690868ef2c85a9"
702 "checksum rayon-core 1.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "08a89b46efaf957e52b18062fb2f4660f8b8a4dde1807ca002690868ef2c85a9"
819 "checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
820 "checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84"
703 "checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84"
821 "checksum regex 1.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "322cf97724bea3ee221b78fe25ac9c46114ebb51747ad5babd51a2fc6a8235a8"
704 "checksum regex 1.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7f6946991529684867e47d86474e3a6d0c0ab9b82d5821e314b1ede31fa3a4b3"
822 "checksum regex-syntax 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)" = "1132f845907680735a84409c3bebc64d1364a5683ffbce899550cd09d5eaefc1"
705 "checksum regex-syntax 0.6.17 (registry+https://github.com/rust-lang/crates.io-index)" = "7fe5bd57d1d7414c6b5ed48563a2c855d995ff777729dcd91c369ec7fea395ae"
823 "checksum remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e"
706 "checksum remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e"
824 "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
707 "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
825 "checksum same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
708 "checksum same-file 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
@@ -10,15 +10,16 b' build = "build.rs"'
10 name = "hg"
10 name = "hg"
11
11
12 [dependencies]
12 [dependencies]
13 byteorder = "1.3.1"
13 byteorder = "1.3.4"
14 hex = "0.4.0"
14 hex = "0.4.2"
15 lazy_static = "1.3.0"
15 lazy_static = "1.4.0"
16 libc = { version = "0.2.66", optional = true }
16 libc = { version = "0.2.66", optional = true }
17 memchr = "2.2.0"
17 memchr = "2.3.3"
18 rand = "0.6.5"
18 rand = "0.7.3"
19 rand_pcg = "0.1.1"
19 rand_pcg = "0.2.1"
20 rand_distr = "0.2.2"
20 rayon = "1.3.0"
21 rayon = "1.3.0"
21 regex = "1.1.0"
22 regex = "1.3.6"
22 twox-hash = "1.5.0"
23 twox-hash = "1.5.0"
23 same-file = "1.0.6"
24 same-file = "1.0.6"
24 crossbeam = "0.7.3"
25 crossbeam = "0.7.3"
@@ -597,12 +597,12 b' mod tests {'
597
597
598 #[test]
598 #[test]
599 fn test_limit_sample_less_than_half() {
599 fn test_limit_sample_less_than_half() {
600 assert_eq!(full_disco().limit_sample((1..6).collect(), 2), vec![4, 2]);
600 assert_eq!(full_disco().limit_sample((1..6).collect(), 2), vec![2, 5]);
601 }
601 }
602
602
603 #[test]
603 #[test]
604 fn test_limit_sample_more_than_half() {
604 fn test_limit_sample_more_than_half() {
605 assert_eq!(full_disco().limit_sample((1..4).collect(), 2), vec![3, 2]);
605 assert_eq!(full_disco().limit_sample((1..4).collect(), 2), vec![1, 2]);
606 }
606 }
607
607
608 #[test]
608 #[test]
@@ -1,8 +1,9 b''
1 use hg::testing::VecGraph;
1 use hg::testing::VecGraph;
2 use hg::Revision;
2 use hg::Revision;
3 use hg::*;
3 use hg::*;
4 use rand::distributions::{Distribution, LogNormal, Uniform};
4 use rand::distributions::{Distribution, Uniform};
5 use rand::{thread_rng, Rng, RngCore, SeedableRng};
5 use rand::{thread_rng, Rng, RngCore, SeedableRng};
6 use rand_distr::LogNormal;
6 use std::cmp::min;
7 use std::cmp::min;
7 use std::collections::HashSet;
8 use std::collections::HashSet;
8 use std::env;
9 use std::env;
@@ -191,7 +192,7 b' fn sample_revs<R: RngCore>('
191 let mu = mu_opt.unwrap_or(1.1);
192 let mu = mu_opt.unwrap_or(1.1);
192 let sigma = sigma_opt.unwrap_or(0.8);
193 let sigma = sigma_opt.unwrap_or(0.8);
193
194
194 let log_normal = LogNormal::new(mu, sigma);
195 let log_normal = LogNormal::new(mu, sigma).unwrap();
195 let nb = min(maxrev as usize, log_normal.sample(rng).floor() as usize);
196 let nb = min(maxrev as usize, log_normal.sample(rng).floor() as usize);
196
197
197 let dist = Uniform::from(NULL_REVISION..maxrev);
198 let dist = Uniform::from(NULL_REVISION..maxrev);
@@ -28,5 +28,5 b' log = "0.4.8"'
28 simple_logger = "1.6.0"
28 simple_logger = "1.6.0"
29
29
30 [dependencies.cpython]
30 [dependencies.cpython]
31 version = "0.4"
31 version = "0.4.1"
32 default-features = false
32 default-features = false
General Comments 0
You need to be logged in to leave comments. Login now