Skip to content

cargo should add option to install HEAD versions #2897

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

Closed
erickt opened this issue Jul 13, 2012 · 2 comments
Closed

cargo should add option to install HEAD versions #2897

erickt opened this issue Jul 13, 2012 · 2 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@erickt
Copy link
Contributor

erickt commented Jul 13, 2012

I'd like to keep my cargo crates pinned to a 0.3 compatible version, but keep working on later versions to shake out rustc bugs. Can cargo grow a cargo install --ref HEAD option to override any baked in revisions?

@z0w0
Copy link
Contributor

z0w0 commented Jul 13, 2012

Does cargo install git://github.com/blah/blah HEAD and adding ref: "HEAD" to packages.json not add that functionality, or am I missing something? Cargo is still terribly out-dated at the moment and is still rolling-release, so I'm afraid there's not much you can do right now.

EDIT: Oh, I see. You want to add a command line option that manually details that you want the latest HEAD. No, you can't do that yet. I think it's a good idea, but it might be better to just add versions instead.

@z0w0
Copy link
Contributor

z0w0 commented Mar 8, 2013

Closing because Cargo is obsolete as of version 0.6. FTR rustpkg will be based around version control by default.

@z0w0 z0w0 closed this as completed Mar 8, 2013
RalfJung pushed a commit to RalfJung/rust that referenced this issue May 23, 2023
celinval added a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

No branches or pull requests

2 participants