Skip to content

Include Cargo.lock for improved stability of old versions moving forward#474

Merged
Ralith merged 1 commit intoRalith:masterfrom
patowen:cargo-lock
Jan 23, 2026
Merged

Include Cargo.lock for improved stability of old versions moving forward#474
Ralith merged 1 commit intoRalith:masterfrom
patowen:cargo-lock

Conversation

@patowen
Copy link
Copy Markdown
Collaborator

@patowen patowen commented Jan 23, 2026

Currently, compiling the v0.1.0 tag of this repo is nontrivial due to unexpected breakages in minor package updates (specifically zstd). If the dependencies were pinned, future viewers of this repo would be more likely to be able to compile older versions of Hypermine.

This may also avoid breakage caused by different people developing Hypermine with different versions of various dependencies, breaking builds for other people until they delete and regenerate Cargo.lock on their end.

(Based on a conversation from Discord from about a year ago)

I've also added "--locked" as an option to all the relevant cargo commands now that this lockfile is present.

Note that I created this PR by deleting and regenerating my own Cargo.lock file, so as far as I know, the packages in it are as up-to-date as possible given the package requirements.

@patowen
Copy link
Copy Markdown
Collaborator Author

patowen commented Jan 23, 2026

I was so confused by the CI failures, and then I realized that I forgot update the master branch in my fork after merging #463. Whoops.

@Ralith Ralith merged commit 7912dae into Ralith:master Jan 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants