Commit 1a12399
committed
Add MSRV Cargo-minimal.lock and Cargo-recent.lock files
Without commited lock files, CI dependency resolution can pull in
transitive dependencies that require a newer compiler than the project's
MSRV. The triggering issue was that bindgen v0.72 depends on rustc-hash
v2.x, and the recent release of rustc-hash v2.1.2 introduced a rustc
1.77.0 requirement, breaking the MSRV build against rustc 1.71.0.
Cargo-minimal.lock pins dependencies to their oldest MSRV-compatible
versions. Cargo-recent.lock pins to the latest patch versions compatible
with the MSRV compiler. The CI msrv-check job now runs twice as a
matrix, once with each lock file, similar to the approach used by
rust-bitcoin. Both lockfiles pin rustc-hash below 2.1.2 to avoid the
incompatible release, to 2.1.0 in the minimal lockfile and 2.1.1 in the
recent lockfile.
tempdir is bumped to >=0.3.6 in dev-dependencies to prevent it from
resolving to an older version that depends on an incompatible rand
release under minimal-versions.
See also: #1471 parent 3184f6f commit 1a12399
5 files changed
Lines changed: 1554 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
36 | | - | |
| 43 | + | |
37 | 44 | | |
38 | 45 | | |
39 | | - | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
0 commit comments