Skip to content

Commit 531f3c9

Browse files
committed
Bump packed_simd_2 and getrandom v0.2
Remove old versions of `cfg-if` by bumping `packed_simd_2` and `getrandom v0.2` versions ```console > cargo update --package packed_simd_2 --package [email protected] Updating crates.io index Removing cfg-if v0.1.10 Updating getrandom v0.2.0 -> v0.2.8 Updating packed_simd_2 v0.3.4 -> v0.3.8 ``` `packed_simd_2` is only used as a dependency `bytecount`. The bigger jump is `[email protected]`, but it's still semver compatible and there doesn't seem to be any worrying changes (see the [changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)). Note that this doesn't affect `[email protected]`, which is already using the latest version of `cfg-if` (besides, there are already plans to remove that entirely).
1 parent b859b8b commit 531f3c9

File tree

1 file changed

+44
-50
lines changed

1 file changed

+44
-50
lines changed

Cargo.lock

+44-50
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ version = "0.7.4"
3030
source = "registry+https://github.com/rust-lang/crates.io-index"
3131
checksum = "43bb833f0bf979d8475d38fbf09ed3b8a55e1885fe93ad3f93239fc6a4f17b98"
3232
dependencies = [
33-
"getrandom 0.2.0",
33+
"getrandom 0.2.8",
3434
"once_cell",
3535
"version_check",
3636
]
@@ -181,7 +181,7 @@ checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7"
181181
dependencies = [
182182
"addr2line",
183183
"cc",
184-
"cfg-if 1.0.0",
184+
"cfg-if",
185185
"libc",
186186
"miniz_oxide",
187187
"object",
@@ -502,12 +502,6 @@ dependencies = [
502502
"jobserver",
503503
]
504504

505-
[[package]]
506-
name = "cfg-if"
507-
version = "0.1.10"
508-
source = "registry+https://github.com/rust-lang/crates.io-index"
509-
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
510-
511505
[[package]]
512506
name = "cfg-if"
513507
version = "1.0.0"
@@ -951,7 +945,7 @@ version = "1.3.2"
951945
source = "registry+https://github.com/rust-lang/crates.io-index"
952946
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
953947
dependencies = [
954-
"cfg-if 1.0.0",
948+
"cfg-if",
955949
]
956950

957951
[[package]]
@@ -960,7 +954,7 @@ version = "0.5.6"
960954
source = "registry+https://github.com/rust-lang/crates.io-index"
961955
checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521"
962956
dependencies = [
963-
"cfg-if 1.0.0",
957+
"cfg-if",
964958
"crossbeam-utils",
965959
]
966960

@@ -970,7 +964,7 @@ version = "0.8.2"
970964
source = "registry+https://github.com/rust-lang/crates.io-index"
971965
checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc"
972966
dependencies = [
973-
"cfg-if 1.0.0",
967+
"cfg-if",
974968
"crossbeam-epoch",
975969
"crossbeam-utils",
976970
]
@@ -982,7 +976,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
982976
checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a"
983977
dependencies = [
984978
"autocfg",
985-
"cfg-if 1.0.0",
979+
"cfg-if",
986980
"crossbeam-utils",
987981
"memoffset",
988982
"scopeguard",
@@ -994,7 +988,7 @@ version = "0.8.14"
994988
source = "registry+https://github.com/rust-lang/crates.io-index"
995989
checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f"
996990
dependencies = [
997-
"cfg-if 1.0.0",
991+
"cfg-if",
998992
]
999993

1000994
[[package]]
@@ -1138,7 +1132,7 @@ version = "2.0.0"
11381132
source = "registry+https://github.com/rust-lang/crates.io-index"
11391133
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
11401134
dependencies = [
1141-
"cfg-if 1.0.0",
1135+
"cfg-if",
11421136
"dirs-sys-next",
11431137
]
11441138

@@ -1341,7 +1335,7 @@ version = "0.2.14"
13411335
source = "registry+https://github.com/rust-lang/crates.io-index"
13421336
checksum = "1d34cfa13a63ae058bfa601fe9e313bbdb3746427c1459185464ce0fcf62e1e8"
13431337
dependencies = [
1344-
"cfg-if 1.0.0",
1338+
"cfg-if",
13451339
"libc",
13461340
"redox_syscall",
13471341
"winapi",
@@ -1359,7 +1353,7 @@ version = "1.0.23"
13591353
source = "registry+https://github.com/rust-lang/crates.io-index"
13601354
checksum = "b39522e96686d38f4bc984b9198e3a0613264abaebaff2c5c918bfa6b6da09af"
13611355
dependencies = [
1362-
"cfg-if 1.0.0",
1356+
"cfg-if",
13631357
"crc32fast",
13641358
"libc",
13651359
"libz-sys",
@@ -1598,20 +1592,20 @@ version = "0.1.16"
15981592
source = "registry+https://github.com/rust-lang/crates.io-index"
15991593
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
16001594
dependencies = [
1601-
"cfg-if 1.0.0",
1595+
"cfg-if",
16021596
"libc",
16031597
"wasi 0.9.0+wasi-snapshot-preview1",
16041598
]
16051599

16061600
[[package]]
16071601
name = "getrandom"
1608-
version = "0.2.0"
1602+
version = "0.2.8"
16091603
source = "registry+https://github.com/rust-lang/crates.io-index"
1610-
checksum = "ee8025cf36f917e6a52cce185b7c7177689b838b7ec138364e50cc2277a56cf4"
1604+
checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
16111605
dependencies = [
1612-
"cfg-if 0.1.10",
1606+
"cfg-if",
16131607
"libc",
1614-
"wasi 0.9.0+wasi-snapshot-preview1",
1608+
"wasi 0.11.0+wasi-snapshot-preview1",
16151609
]
16161610

16171611
[[package]]
@@ -1966,7 +1960,7 @@ version = "0.1.12"
19661960
source = "registry+https://github.com/rust-lang/crates.io-index"
19671961
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
19681962
dependencies = [
1969-
"cfg-if 1.0.0",
1963+
"cfg-if",
19701964
]
19711965

19721966
[[package]]
@@ -2150,7 +2144,7 @@ version = "0.7.1"
21502144
source = "registry+https://github.com/rust-lang/crates.io-index"
21512145
checksum = "c0cf036d15402bea3c5d4de17b3fce76b3e4a56ebc1f577be0e7a72f7c607cf0"
21522146
dependencies = [
2153-
"cfg-if 1.0.0",
2147+
"cfg-if",
21542148
"winapi",
21552149
]
21562150

@@ -2251,7 +2245,7 @@ version = "0.4.14"
22512245
source = "registry+https://github.com/rust-lang/crates.io-index"
22522246
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
22532247
dependencies = [
2254-
"cfg-if 1.0.0",
2248+
"cfg-if",
22552249
]
22562250

22572251
[[package]]
@@ -2433,7 +2427,7 @@ version = "0.1.0"
24332427
dependencies = [
24342428
"colored",
24352429
"env_logger 0.9.0",
2436-
"getrandom 0.2.0",
2430+
"getrandom 0.2.8",
24372431
"lazy_static",
24382432
"libc",
24392433
"libffi",
@@ -2529,7 +2523,7 @@ version = "0.3.1"
25292523
source = "registry+https://github.com/rust-lang/crates.io-index"
25302524
checksum = "5a518809ac14b25b569624d0268eba1e88498f71615893dca57982bed7621abb"
25312525
dependencies = [
2532-
"cfg-if 1.0.0",
2526+
"cfg-if",
25332527
]
25342528

25352529
[[package]]
@@ -2555,7 +2549,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
25552549
checksum = "0c7ae222234c30df141154f159066c5093ff73b63204dcda7121eb082fc56a95"
25562550
dependencies = [
25572551
"bitflags",
2558-
"cfg-if 1.0.0",
2552+
"cfg-if",
25592553
"foreign-types",
25602554
"libc",
25612555
"once_cell",
@@ -2625,11 +2619,11 @@ checksum = "decf7381921fea4dcb2549c5667eda59b3ec297ab7e2b5fc33eac69d2e7da87b"
26252619

26262620
[[package]]
26272621
name = "packed_simd_2"
2628-
version = "0.3.4"
2622+
version = "0.3.8"
26292623
source = "registry+https://github.com/rust-lang/crates.io-index"
2630-
checksum = "3278e0492f961fd4ae70909f56b2723a7e8d01a228427294e19cdfdebda89a17"
2624+
checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282"
26312625
dependencies = [
2632-
"cfg-if 0.1.10",
2626+
"cfg-if",
26332627
"libm",
26342628
]
26352629

@@ -2638,7 +2632,7 @@ name = "panic_abort"
26382632
version = "0.0.0"
26392633
dependencies = [
26402634
"alloc",
2641-
"cfg-if 1.0.0",
2635+
"cfg-if",
26422636
"compiler_builtins",
26432637
"core",
26442638
"libc",
@@ -2649,7 +2643,7 @@ name = "panic_unwind"
26492643
version = "0.0.0"
26502644
dependencies = [
26512645
"alloc",
2652-
"cfg-if 1.0.0",
2646+
"cfg-if",
26532647
"compiler_builtins",
26542648
"core",
26552649
"libc",
@@ -2683,7 +2677,7 @@ version = "0.8.5"
26832677
source = "registry+https://github.com/rust-lang/crates.io-index"
26842678
checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216"
26852679
dependencies = [
2686-
"cfg-if 1.0.0",
2680+
"cfg-if",
26872681
"instant",
26882682
"libc",
26892683
"redox_syscall",
@@ -2697,7 +2691,7 @@ version = "0.9.4"
26972691
source = "registry+https://github.com/rust-lang/crates.io-index"
26982692
checksum = "4dc9e0dc2adc1c69d09143aff38d3d30c5c3f0df0dad82e6d25547af174ebec0"
26992693
dependencies = [
2700-
"cfg-if 1.0.0",
2694+
"cfg-if",
27012695
"libc",
27022696
"redox_syscall",
27032697
"smallvec",
@@ -3030,7 +3024,7 @@ version = "0.6.2"
30303024
source = "registry+https://github.com/rust-lang/crates.io-index"
30313025
checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7"
30323026
dependencies = [
3033-
"getrandom 0.2.0",
3027+
"getrandom 0.2.8",
30343028
]
30353029

30363030
[[package]]
@@ -3099,7 +3093,7 @@ version = "0.4.0"
30993093
source = "registry+https://github.com/rust-lang/crates.io-index"
31003094
checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"
31013095
dependencies = [
3102-
"getrandom 0.2.0",
3096+
"getrandom 0.2.8",
31033097
"redox_syscall",
31043098
]
31053099

@@ -3590,7 +3584,7 @@ version = "0.0.0"
35903584
dependencies = [
35913585
"arrayvec",
35923586
"bitflags",
3593-
"cfg-if 1.0.0",
3587+
"cfg-if",
35943588
"ena",
35953589
"indexmap",
35963590
"jobserver",
@@ -4374,7 +4368,7 @@ dependencies = [
43744368
name = "rustc_span"
43754369
version = "0.0.0"
43764370
dependencies = [
4377-
"cfg-if 1.0.0",
4371+
"cfg-if",
43784372
"md-5",
43794373
"rustc_arena",
43804374
"rustc_data_structures",
@@ -4783,7 +4777,7 @@ version = "0.10.0"
47834777
source = "registry+https://github.com/rust-lang/crates.io-index"
47844778
checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f"
47854779
dependencies = [
4786-
"cfg-if 1.0.0",
4780+
"cfg-if",
47874781
"cpufeatures",
47884782
"digest",
47894783
]
@@ -4794,7 +4788,7 @@ version = "0.10.1"
47944788
source = "registry+https://github.com/rust-lang/crates.io-index"
47954789
checksum = "99c3bd8169c58782adad9290a9af5939994036b76187f7b4f0e6de91dbbfc0ec"
47964790
dependencies = [
4797-
"cfg-if 1.0.0",
4791+
"cfg-if",
47984792
"cpufeatures",
47994793
"digest",
48004794
]
@@ -4936,7 +4930,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
49364930
checksum = "c886bd4480155fd3ef527d45e9ac8dd7118a898a46530b7b94c3e21866259fce"
49374931
dependencies = [
49384932
"cc",
4939-
"cfg-if 1.0.0",
4933+
"cfg-if",
49404934
"libc",
49414935
"psm",
49424936
"winapi",
@@ -4954,7 +4948,7 @@ version = "0.0.0"
49544948
dependencies = [
49554949
"addr2line",
49564950
"alloc",
4957-
"cfg-if 1.0.0",
4951+
"cfg-if",
49584952
"compiler_builtins",
49594953
"core",
49604954
"dlmalloc",
@@ -4978,7 +4972,7 @@ dependencies = [
49784972
name = "std_detect"
49794973
version = "0.1.5"
49804974
dependencies = [
4981-
"cfg-if 1.0.0",
4975+
"cfg-if",
49824976
"compiler_builtins",
49834977
"libc",
49844978
"rustc-std-workspace-alloc",
@@ -5085,7 +5079,7 @@ version = "3.3.0"
50855079
source = "registry+https://github.com/rust-lang/crates.io-index"
50865080
checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4"
50875081
dependencies = [
5088-
"cfg-if 1.0.0",
5082+
"cfg-if",
50895083
"fastrand",
50905084
"libc",
50915085
"redox_syscall",
@@ -5138,7 +5132,7 @@ dependencies = [
51385132
name = "test"
51395133
version = "0.0.0"
51405134
dependencies = [
5141-
"cfg-if 1.0.0",
5135+
"cfg-if",
51425136
"core",
51435137
"getopts",
51445138
"libc",
@@ -5154,7 +5148,7 @@ version = "0.9.0"
51545148
source = "registry+https://github.com/rust-lang/crates.io-index"
51555149
checksum = "0639d10d8f4615f223a57275cf40f9bdb7cfbb806bcb7f7cc56e3beb55a576eb"
51565150
dependencies = [
5157-
"cfg-if 1.0.0",
5151+
"cfg-if",
51585152
"getopts",
51595153
"libc",
51605154
"num_cpus",
@@ -5321,7 +5315,7 @@ version = "0.1.35"
53215315
source = "registry+https://github.com/rust-lang/crates.io-index"
53225316
checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160"
53235317
dependencies = [
5324-
"cfg-if 1.0.0",
5318+
"cfg-if",
53255319
"pin-project-lite",
53265320
"tracing-attributes",
53275321
"tracing-core",
@@ -5407,7 +5401,7 @@ version = "1.6.3"
54075401
source = "registry+https://github.com/rust-lang/crates.io-index"
54085402
checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675"
54095403
dependencies = [
5410-
"cfg-if 1.0.0",
5404+
"cfg-if",
54115405
"rand 0.8.5",
54125406
"static_assertions",
54135407
]
@@ -5654,7 +5648,7 @@ name = "unwind"
56545648
version = "0.0.0"
56555649
dependencies = [
56565650
"cc",
5657-
"cfg-if 1.0.0",
5651+
"cfg-if",
56585652
"compiler_builtins",
56595653
"core",
56605654
"libc",
@@ -5691,7 +5685,7 @@ version = "0.8.2"
56915685
source = "registry+https://github.com/rust-lang/crates.io-index"
56925686
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
56935687
dependencies = [
5694-
"getrandom 0.2.0",
5688+
"getrandom 0.2.8",
56955689
]
56965690

56975691
[[package]]

0 commit comments

Comments
 (0)