Skip to content

Commit cc00df5

Browse files
committed
chore: track lockfile
We need to track lockfile because we want to make sure our CI using rayon@1.10.0. And I don't want to block whoever wants to use latest rayon to run tests. (Though that doesn't matter as dependent won't respect our lockfile) For other reasons, see * <https://blog.rust-lang.org/2023/08/29/committing-lockfiles/> * <https://doc.rust-lang.org/nightly/cargo/faq.html#why-have-cargolock-in-version-control> * <https://doc.rust-lang.org/nightly/cargo/reference/rust-version.html> Most importantly: > Verifying a minimum-supported Rust version (MSRV) > that is less than the latest version of a dependency supports And actually during the course, I found that `windows-link` requires Rust 1.71. `windows-link` is a transitive dependency of `anstyle` through `windows-sys`. Our MSRV is already a lie for windows user when enabling `color`. ``` console $ cargo generate-lockfile --config 'resolver.incompatible-rust-versions="fallback"' Updating crates.io index Locking 24 packages to latest Rust 1.70.0 compatible versions Adding snapbox v0.6.24 (available: v1.1.0) Adding windows-link v0.2.1 (requires Rust 1.71) ```
1 parent f87b57c commit cc00df5

File tree

2 files changed

+199
-1
lines changed

2 files changed

+199
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
/target
2-
Cargo.lock

Cargo.lock

Lines changed: 199 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)