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

cargo install command #1917

Closed
Turbo87 opened this issue Aug 18, 2015 · 4 comments
Closed

cargo install command #1917

Turbo87 opened this issue Aug 18, 2015 · 4 comments

Comments

@Turbo87
Copy link
Member

Turbo87 commented Aug 18, 2015

It would be cool if cargo had a cargo install command similar to e.g. npm install --save. That command would then look in the index for the most recent version of the crate, install it, and add the dependency to the Cargo.toml file.

@Turbo87
Copy link
Member Author

Turbo87 commented Aug 18, 2015

it seems like https://github.com/killercup/cargo-edit and https://github.com/withoutboats/cargo-add implement something similar to my suggestion, however it would be awesome if that was part of cargo itself instead of having to install it as a plugin.

@huonw
Copy link
Member

huonw commented Aug 18, 2015

Dupe of #4, thanks for filing!

@huonw huonw closed this as completed Aug 18, 2015
@Turbo87
Copy link
Member Author

Turbo87 commented Aug 18, 2015

sorry, only searched for "install" before creating this issue ;)

@brandonros
Copy link

brandonros commented Jun 25, 2018

How is this not done yet?...

Edit: #5611

It's almost there.

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

No branches or pull requests

3 participants