Skip to content

Commit 49d2aca

Browse files
committed
fix(build): support direct minimal versions
Fix the build with Cargo’s [`direct-minimal-versions`](https://doc.rust-lang.org/cargo/reference/unstable.html#direct-minimal-versions) feature. ```sh cargo minimal-versions check --quiet --workspace --all-targets --all-features --direct --workspace-behavior=cargo --target aarch64-apple-darwin ```
1 parent ea21b10 commit 49d2aca

3 files changed

Lines changed: 22 additions & 20 deletions

File tree

.github/workflows/CICD.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ jobs:
193193
unset CARGO_FEATURES_OPTION
194194
if [ -n "${{ matrix.job.features }}" ]; then CARGO_FEATURES_OPTION='--features "${{ matrix.job.features }}"' ; fi
195195
outputs CARGO_FEATURES_OPTION
196+
- name: Generate minimal lockfile
197+
run: RUSTC_BOOTSTRAP=1 cargo update -Z direct-minimal-versions
196198
- name: Confirm MinSRV compatible '*/Cargo.lock'
197199
shell: bash
198200
run: |

Cargo.toml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -327,11 +327,11 @@ ansi-width = "0.1.0"
327327
# arrive without one running.
328328
ariadne = "0.6.0"
329329
base64-simd = "0.8"
330-
bigdecimal = "0.4"
330+
bigdecimal = "0.4.9"
331331
bstr = { version = "1.9.1", default-features = false, features = ["std"] }
332332
bytecount = "0.6.8"
333333
cfg_aliases = "0.2.2"
334-
clap = { version = "4.5", features = ["wrap_help", "cargo", "color"] }
334+
clap = { version = "4.5.18", features = ["wrap_help", "cargo", "color"] }
335335
clap_complete = "4.4"
336336
clap_mangen = "0.3"
337337
crossterm = { version = "0.29.0", default-features = false }
@@ -344,23 +344,23 @@ dns-lookup = { version = "4.0.0" }
344344
dunce = "1.0.4"
345345
filetime = "0.2.29"
346346
foldhash = "0.2.0"
347-
glob = "0.3.1"
347+
glob = "0.3.2"
348348
half = "2.4.1"
349349
hashbrown = '0.17.1'
350350
hex-literal = "1.0.0"
351351
hostname = "0.4"
352-
icu_calendar = { version = "2.0.0", default-features = false }
353-
icu_collator = { version = "2.0.0", default-features = false }
354-
icu_datetime = { version = "2.0.0", default-features = false }
355-
icu_decimal = { version = "2.0.0", default-features = false }
356-
icu_locale = { version = "2.0.0", default-features = false }
357-
icu_provider = { version = "2.0.0", default-features = false }
352+
icu_calendar = { version = "2.1.0", default-features = false }
353+
icu_collator = { version = "2.1.0", default-features = false }
354+
icu_datetime = { version = "2.1.0", default-features = false }
355+
icu_decimal = { version = "2.1.0", default-features = false }
356+
icu_locale = { version = "2.1.0", default-features = false }
357+
icu_provider = { version = "2.1.0", default-features = false }
358358
indicatif = "0.18.0"
359359
itertools = "0.15.0"
360360
itoa = "1.0.15"
361361
jiff = "0.2.18"
362362
jiff-icu = "0.2.2"
363-
jiff-tzdb = "0.1"
363+
jiff-tzdb = "0.1.4"
364364
libc = "0.2.186"
365365
lscolors = { version = "0.21.0", default-features = false, features = [
366366
"gnu_legacy",
@@ -370,7 +370,7 @@ memmap2 = "0.9.4"
370370
nix = { version = "0.31.3", default-features = false }
371371
nom = "8.0.0"
372372
notify = { version = "8.2.0", features = ["macos_kqueue"] }
373-
num-bigint = "0.4.4"
373+
num-bigint = "0.4.6"
374374
num-integer = "0.1.47"
375375
num-prime = "0.5.0"
376376
num-traits = "0.2.19"
@@ -385,27 +385,27 @@ phf = "0.14.0"
385385
phf_codegen = "0.14.0"
386386
platform-info = "2.0.3"
387387
pretty_assertions = "1.4.1"
388-
proc-macro2 = "1.0.81"
388+
proc-macro2 = "1.0.93"
389389
procfs = "0.18"
390390
rand = { version = "0.10.1", features = ["std_rng"] }
391391
rand_chacha = { version = "0.10.0" }
392392
rayon = "1.10"
393-
regex = "1.10.4"
393+
regex = "1.11.3"
394394
rstest = "0.27.0"
395395
rstest_reuse = "0.7.0"
396396
rustc-hash = "2.1.1"
397397
rustix = { version = "1.1.4", default-features = false }
398-
self_cell = "1.0.4"
398+
self_cell = "1.2.0"
399399
selinux = "0.6"
400-
tempfile = "3.15.0"
400+
tempfile = "3.20.0"
401401
terminal_size = "0.4.0"
402402
textwrap = { version = "0.16.1", features = ["terminal_size"] }
403403
thiserror = "2.0.3"
404404
time = { version = "0.3.36" }
405-
quote = "1.0.36"
405+
quote = "1.0.38"
406406
unicode-width = "0.2.0"
407407
unindent = "0.2.3"
408-
unit-prefix = "0.5"
408+
unit-prefix = "0.5.1"
409409
utmp-classic = "0.1.6"
410410
uutils_term_grid = "0.8"
411411
walkdir = "2.5"
@@ -424,9 +424,9 @@ shake = "0.1.0"
424424
blake2b_simd = "1.0.2"
425425
blake3 = "1.5.1"
426426
sm3 = { version = "0.5.0", default-features = false, features = ["alloc"] }
427-
crc-fast = { version = "1.5.0", default-features = false }
427+
crc-fast = { version = "1.7.0", default-features = false }
428428
digest = "0.11.0"
429-
openssl = { version = "0.10" }
429+
openssl = { version = "0.10.72" }
430430

431431
# Fluent dependencies
432432
fluent = "0.17.0"

fuzz/uufuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ similar = "3.0.0"
1414
uucore = { version = "0.13.0", path = "../../src/uucore", features = [
1515
"parser",
1616
] }
17-
tempfile = "3.15.0"
17+
tempfile = "3.20.0"
1818
rustix = { version = "1.1.4", features = ["stdio", "pipe"] }

0 commit comments

Comments
 (0)