Skip to content

cargo install command #1917

New issue

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

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

Already on GitHub? # to your account

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants