7 ms·
With `cargo add` its even easier than adding them with "*" dependencies. Just `cargo install cargo-extras` to get `cargo add`, and then `cargo add my_dependency
by tatterdemalion 11y ago
With `cargo add` its even easier than adding them with "*" dependencies. Just `cargo install cargo-extras` to get `cargo add`, and then `cargo add my_dependency` and it will add the dependency with the most recent version as the requirement.
- steveklabnik 11y agoI and others think cargo-add is a good candidate to move upstream into cargo itself for exactly this reason.