comparison rust/Cargo.lock @ 47380:fad504cfc94b

rust: Use a maintained crate for SHA-1 hashing https://crates.io/crates/rust-crypto hasn’t been updated in 5 years. This doesn’t neccesarily mean there’s anything wrong with it, but if something comes up it’s preferable to rely on libraries that have active maintainers. Use https://crates.io/crates/sha-1 from https://github.com/RustCrypto instead Differential Revision: https://phab.mercurial-scm.org/D10835
author Simon Sapin <simon.sapin@octobus.net>
date Wed, 02 Jun 2021 10:00:50 +0200
parents be579775c2d9
children ebdef6283798
comparison
equal deleted inserted replaced
47379:f6bb181c75f8 47380:fad504cfc94b
52 version = "2.1.0" 52 version = "2.1.0"
53 source = "registry+https://github.com/rust-lang/crates.io-index" 53 source = "registry+https://github.com/rust-lang/crates.io-index"
54 checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2" 54 checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2"
55 dependencies = [ 55 dependencies = [
56 "typenum", 56 "typenum",
57 ]
58
59 [[package]]
60 name = "block-buffer"
61 version = "0.9.0"
62 source = "registry+https://github.com/rust-lang/crates.io-index"
63 checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
64 dependencies = [
65 "generic-array",
57 ] 66 ]
58 67
59 [[package]] 68 [[package]]
60 name = "byteorder" 69 name = "byteorder"
61 version = "1.3.4" 70 version = "1.3.4"
136 version = "0.4.4" 145 version = "0.4.4"
137 source = "registry+https://github.com/rust-lang/crates.io-index" 146 source = "registry+https://github.com/rust-lang/crates.io-index"
138 checksum = "cd51eab21ab4fd6a3bf889e2d0958c0a6e3a61ad04260325e919e652a2a62826" 147 checksum = "cd51eab21ab4fd6a3bf889e2d0958c0a6e3a61ad04260325e919e652a2a62826"
139 148
140 [[package]] 149 [[package]]
150 name = "cpufeatures"
151 version = "0.1.4"
152 source = "registry+https://github.com/rust-lang/crates.io-index"
153 checksum = "ed00c67cb5d0a7d64a44f6ad2668db7e7530311dd53ea79bcd4fb022c64911c8"
154 dependencies = [
155 "libc",
156 ]
157
158 [[package]]
141 name = "cpython" 159 name = "cpython"
142 version = "0.5.2" 160 version = "0.5.2"
143 source = "registry+https://github.com/rust-lang/crates.io-index" 161 source = "registry+https://github.com/rust-lang/crates.io-index"
144 checksum = "0f11357af68648b6a227e7e2384d439cec8595de65970f45e3f7f4b2600be472" 162 checksum = "0f11357af68648b6a227e7e2384d439cec8595de65970f45e3f7f4b2600be472"
145 dependencies = [ 163 dependencies = [
252 version = "2.0.0" 270 version = "2.0.0"
253 source = "registry+https://github.com/rust-lang/crates.io-index" 271 source = "registry+https://github.com/rust-lang/crates.io-index"
254 checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" 272 checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
255 273
256 [[package]] 274 [[package]]
275 name = "digest"
276 version = "0.9.0"
277 source = "registry+https://github.com/rust-lang/crates.io-index"
278 checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
279 dependencies = [
280 "generic-array",
281 ]
282
283 [[package]]
257 name = "either" 284 name = "either"
258 version = "1.6.1" 285 version = "1.6.1"
259 source = "registry+https://github.com/rust-lang/crates.io-index" 286 source = "registry+https://github.com/rust-lang/crates.io-index"
260 checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" 287 checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
261 288
306 "quote", 333 "quote",
307 "syn", 334 "syn",
308 ] 335 ]
309 336
310 [[package]] 337 [[package]]
311 name = "fuchsia-cprng" 338 name = "generic-array"
312 version = "0.1.1" 339 version = "0.14.4"
313 source = "registry+https://github.com/rust-lang/crates.io-index" 340 source = "registry+https://github.com/rust-lang/crates.io-index"
314 checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" 341 checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
315 342 dependencies = [
316 [[package]] 343 "typenum",
317 name = "gcc" 344 "version_check",
318 version = "0.3.55" 345 ]
319 source = "registry+https://github.com/rust-lang/crates.io-index"
320 checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2"
321 346
322 [[package]] 347 [[package]]
323 name = "getrandom" 348 name = "getrandom"
324 version = "0.1.15" 349 version = "0.1.15"
325 source = "registry+https://github.com/rust-lang/crates.io-index" 350 source = "registry+https://github.com/rust-lang/crates.io-index"
362 "lazy_static", 387 "lazy_static",
363 "log", 388 "log",
364 "memmap", 389 "memmap",
365 "micro-timer", 390 "micro-timer",
366 "pretty_assertions", 391 "pretty_assertions",
367 "rand 0.7.3", 392 "rand",
368 "rand_distr", 393 "rand_distr",
369 "rand_pcg", 394 "rand_pcg",
370 "rayon", 395 "rayon",
371 "regex", 396 "regex",
372 "rust-crypto",
373 "same-file", 397 "same-file",
398 "sha-1",
374 "tempfile", 399 "tempfile",
375 "twox-hash", 400 "twox-hash",
376 "zstd", 401 "zstd",
377 ] 402 ]
378 403
411 version = "15.0.0" 436 version = "15.0.0"
412 source = "registry+https://github.com/rust-lang/crates.io-index" 437 source = "registry+https://github.com/rust-lang/crates.io-index"
413 checksum = "3ca8957e71f04a205cb162508f9326aea04676c8dfd0711220190d6b83664f3f" 438 checksum = "3ca8957e71f04a205cb162508f9326aea04676c8dfd0711220190d6b83664f3f"
414 dependencies = [ 439 dependencies = [
415 "bitmaps", 440 "bitmaps",
416 "rand_core 0.5.1", 441 "rand_core",
417 "rand_xoshiro", 442 "rand_xoshiro",
418 "sized-chunks", 443 "sized-chunks",
419 "typenum", 444 "typenum",
420 "version_check", 445 "version_check",
421 ] 446 ]
561 "hermit-abi", 586 "hermit-abi",
562 "libc", 587 "libc",
563 ] 588 ]
564 589
565 [[package]] 590 [[package]]
591 name = "opaque-debug"
592 version = "0.3.0"
593 source = "registry+https://github.com/rust-lang/crates.io-index"
594 checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
595
596 [[package]]
566 name = "output_vt100" 597 name = "output_vt100"
567 version = "0.1.2" 598 version = "0.1.2"
568 source = "registry+https://github.com/rust-lang/crates.io-index" 599 source = "registry+https://github.com/rust-lang/crates.io-index"
569 checksum = "53cdc5b785b7a58c5aad8216b3dfa114df64b0b06ae6e1501cef91df2fbdf8f9" 600 checksum = "53cdc5b785b7a58c5aad8216b3dfa114df64b0b06ae6e1501cef91df2fbdf8f9"
570 dependencies = [ 601 dependencies = [
664 "proc-macro2", 695 "proc-macro2",
665 ] 696 ]
666 697
667 [[package]] 698 [[package]]
668 name = "rand" 699 name = "rand"
669 version = "0.3.23"
670 source = "registry+https://github.com/rust-lang/crates.io-index"
671 checksum = "64ac302d8f83c0c1974bf758f6b041c6c8ada916fbb44a609158ca8b064cc76c"
672 dependencies = [
673 "libc",
674 "rand 0.4.6",
675 ]
676
677 [[package]]
678 name = "rand"
679 version = "0.4.6"
680 source = "registry+https://github.com/rust-lang/crates.io-index"
681 checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293"
682 dependencies = [
683 "fuchsia-cprng",
684 "libc",
685 "rand_core 0.3.1",
686 "rdrand",
687 "winapi",
688 ]
689
690 [[package]]
691 name = "rand"
692 version = "0.7.3" 700 version = "0.7.3"
693 source = "registry+https://github.com/rust-lang/crates.io-index" 701 source = "registry+https://github.com/rust-lang/crates.io-index"
694 checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" 702 checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
695 dependencies = [ 703 dependencies = [
696 "getrandom", 704 "getrandom",
697 "libc", 705 "libc",
698 "rand_chacha", 706 "rand_chacha",
699 "rand_core 0.5.1", 707 "rand_core",
700 "rand_hc", 708 "rand_hc",
701 ] 709 ]
702 710
703 [[package]] 711 [[package]]
704 name = "rand_chacha" 712 name = "rand_chacha"
705 version = "0.2.2" 713 version = "0.2.2"
706 source = "registry+https://github.com/rust-lang/crates.io-index" 714 source = "registry+https://github.com/rust-lang/crates.io-index"
707 checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" 715 checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
708 dependencies = [ 716 dependencies = [
709 "ppv-lite86", 717 "ppv-lite86",
710 "rand_core 0.5.1", 718 "rand_core",
711 ] 719 ]
712
713 [[package]]
714 name = "rand_core"
715 version = "0.3.1"
716 source = "registry+https://github.com/rust-lang/crates.io-index"
717 checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
718 dependencies = [
719 "rand_core 0.4.2",
720 ]
721
722 [[package]]
723 name = "rand_core"
724 version = "0.4.2"
725 source = "registry+https://github.com/rust-lang/crates.io-index"
726 checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc"
727 720
728 [[package]] 721 [[package]]
729 name = "rand_core" 722 name = "rand_core"
730 version = "0.5.1" 723 version = "0.5.1"
731 source = "registry+https://github.com/rust-lang/crates.io-index" 724 source = "registry+https://github.com/rust-lang/crates.io-index"
738 name = "rand_distr" 731 name = "rand_distr"
739 version = "0.2.2" 732 version = "0.2.2"
740 source = "registry+https://github.com/rust-lang/crates.io-index" 733 source = "registry+https://github.com/rust-lang/crates.io-index"
741 checksum = "96977acbdd3a6576fb1d27391900035bf3863d4a16422973a409b488cf29ffb2" 734 checksum = "96977acbdd3a6576fb1d27391900035bf3863d4a16422973a409b488cf29ffb2"
742 dependencies = [ 735 dependencies = [
743 "rand 0.7.3", 736 "rand",
744 ] 737 ]
745 738
746 [[package]] 739 [[package]]
747 name = "rand_hc" 740 name = "rand_hc"
748 version = "0.2.0" 741 version = "0.2.0"
749 source = "registry+https://github.com/rust-lang/crates.io-index" 742 source = "registry+https://github.com/rust-lang/crates.io-index"
750 checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" 743 checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
751 dependencies = [ 744 dependencies = [
752 "rand_core 0.5.1", 745 "rand_core",
753 ] 746 ]
754 747
755 [[package]] 748 [[package]]
756 name = "rand_pcg" 749 name = "rand_pcg"
757 version = "0.2.1" 750 version = "0.2.1"
758 source = "registry+https://github.com/rust-lang/crates.io-index" 751 source = "registry+https://github.com/rust-lang/crates.io-index"
759 checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" 752 checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
760 dependencies = [ 753 dependencies = [
761 "rand_core 0.5.1", 754 "rand_core",
762 ] 755 ]
763 756
764 [[package]] 757 [[package]]
765 name = "rand_xoshiro" 758 name = "rand_xoshiro"
766 version = "0.4.0" 759 version = "0.4.0"
767 source = "registry+https://github.com/rust-lang/crates.io-index" 760 source = "registry+https://github.com/rust-lang/crates.io-index"
768 checksum = "a9fcdd2e881d02f1d9390ae47ad8e5696a9e4be7b547a1da2afbc61973217004" 761 checksum = "a9fcdd2e881d02f1d9390ae47ad8e5696a9e4be7b547a1da2afbc61973217004"
769 dependencies = [ 762 dependencies = [
770 "rand_core 0.5.1", 763 "rand_core",
771 ] 764 ]
772 765
773 [[package]] 766 [[package]]
774 name = "rayon" 767 name = "rayon"
775 version = "1.5.0" 768 version = "1.5.0"
791 "crossbeam-channel 0.5.0", 784 "crossbeam-channel 0.5.0",
792 "crossbeam-deque", 785 "crossbeam-deque",
793 "crossbeam-utils 0.8.1", 786 "crossbeam-utils 0.8.1",
794 "lazy_static", 787 "lazy_static",
795 "num_cpus", 788 "num_cpus",
796 ]
797
798 [[package]]
799 name = "rdrand"
800 version = "0.4.0"
801 source = "registry+https://github.com/rust-lang/crates.io-index"
802 checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
803 dependencies = [
804 "rand_core 0.3.1",
805 ] 789 ]
806 790
807 [[package]] 791 [[package]]
808 name = "redox_syscall" 792 name = "redox_syscall"
809 version = "0.1.57" 793 version = "0.1.57"
853 "regex", 837 "regex",
854 "users", 838 "users",
855 ] 839 ]
856 840
857 [[package]] 841 [[package]]
858 name = "rust-crypto"
859 version = "0.2.36"
860 source = "registry+https://github.com/rust-lang/crates.io-index"
861 checksum = "f76d05d3993fd5f4af9434e8e436db163a12a9d40e1a58a726f27a01dfd12a2a"
862 dependencies = [
863 "gcc",
864 "libc",
865 "rand 0.3.23",
866 "rustc-serialize",
867 "time",
868 ]
869
870 [[package]]
871 name = "rustc-serialize"
872 version = "0.3.24"
873 source = "registry+https://github.com/rust-lang/crates.io-index"
874 checksum = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda"
875
876 [[package]]
877 name = "same-file" 842 name = "same-file"
878 version = "1.0.6" 843 version = "1.0.6"
879 source = "registry+https://github.com/rust-lang/crates.io-index" 844 source = "registry+https://github.com/rust-lang/crates.io-index"
880 checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 845 checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
881 dependencies = [ 846 dependencies = [
885 [[package]] 850 [[package]]
886 name = "scopeguard" 851 name = "scopeguard"
887 version = "1.1.0" 852 version = "1.1.0"
888 source = "registry+https://github.com/rust-lang/crates.io-index" 853 source = "registry+https://github.com/rust-lang/crates.io-index"
889 checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 854 checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
855
856 [[package]]
857 name = "sha-1"
858 version = "0.9.6"
859 source = "registry+https://github.com/rust-lang/crates.io-index"
860 checksum = "8c4cfa741c5832d0ef7fab46cabed29c2aae926db0b11bb2069edd8db5e64e16"
861 dependencies = [
862 "block-buffer",
863 "cfg-if 1.0.0",
864 "cpufeatures",
865 "digest",
866 "opaque-debug",
867 ]
890 868
891 [[package]] 869 [[package]]
892 name = "sized-chunks" 870 name = "sized-chunks"
893 version = "0.6.2" 871 version = "0.6.2"
894 source = "registry+https://github.com/rust-lang/crates.io-index" 872 source = "registry+https://github.com/rust-lang/crates.io-index"
927 source = "registry+https://github.com/rust-lang/crates.io-index" 905 source = "registry+https://github.com/rust-lang/crates.io-index"
928 checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" 906 checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
929 dependencies = [ 907 dependencies = [
930 "cfg-if 0.1.10", 908 "cfg-if 0.1.10",
931 "libc", 909 "libc",
932 "rand 0.7.3", 910 "rand",
933 "redox_syscall", 911 "redox_syscall",
934 "remove_dir_all", 912 "remove_dir_all",
935 "winapi", 913 "winapi",
936 ] 914 ]
937 915
978 version = "1.6.0" 956 version = "1.6.0"
979 source = "registry+https://github.com/rust-lang/crates.io-index" 957 source = "registry+https://github.com/rust-lang/crates.io-index"
980 checksum = "04f8ab788026715fa63b31960869617cba39117e520eb415b0139543e325ab59" 958 checksum = "04f8ab788026715fa63b31960869617cba39117e520eb415b0139543e325ab59"
981 dependencies = [ 959 dependencies = [
982 "cfg-if 0.1.10", 960 "cfg-if 0.1.10",
983 "rand 0.7.3", 961 "rand",
984 "static_assertions", 962 "static_assertions",
985 ] 963 ]
986 964
987 [[package]] 965 [[package]]
988 name = "typenum" 966 name = "typenum"