Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide option to install packages released on or before a given date #10095

Closed
ChrisJefferson opened this issue Nov 18, 2021 · 1 comment
Closed
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

Comments

@ChrisJefferson
Copy link

ChrisJefferson commented Nov 18, 2021

Problem

I have the source of a rust program where I didn't store a cargo.lock. I know a date + compiler version on which "cargo build" worked, but now cargo downloads more up to date minor releases of packages + their dependancies, which don't produce a working executable

Proposed Solution

I'm not sure exactly the best way to fix this, but the ability to somehow say "build using the state of packages on date X" would, I hope, allow me to get the program to build + run. Obviously storing cargo.lock would be better, but it's easy to forget.

Notes

No response

@ChrisJefferson ChrisJefferson added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label Nov 18, 2021
@ehuss
Copy link
Contributor

ehuss commented Nov 18, 2021

Thanks for the feature request! I believe this is a duplicate of #5221, so closing in favor of that.

@ehuss ehuss closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Projects
None yet
Development

No branches or pull requests

2 participants