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 dependency subcommands #651

Closed
wesleywiser opened this issue Oct 1, 2014 · 2 comments
Closed

cargo dependency subcommands #651

wesleywiser opened this issue Oct 1, 2014 · 2 comments
Labels
A-new-subcommand Area: new subcommand

Comments

@wesleywiser
Copy link
Member

Hi,

I had a few ideas for new cargo commands, I think they're fairly self explanatory:

cargo dependency add nickel --git https://github.com/nickel-org/nickel.rs.git

cargo dependency rm nickel

cargo dependency lint
Checks for unused dependencies, out-of-date dependencies, etc.

Thoughts?

@alexcrichton
Copy link
Member

An example of adding a dependency can also be found at #4. The hard part about writing to a manifest is preserving areas such as comments. Currently toml-rs isn't fantastic about maintaining comments.

That being said, it'd be pretty awesome to have this!

@alexcrichton alexcrichton added the A-new-subcommand Area: new subcommand label Oct 13, 2014
@alexcrichton alexcrichton added A-configuration Area: cargo config files and env vars and removed A-configuration Area: cargo config files and env vars labels Jan 14, 2015
@alexcrichton
Copy link
Member

I think https://github.com/killercup/cargo-edit serves this quite well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-new-subcommand Area: new subcommand
Projects
None yet
Development

No branches or pull requests

2 participants