4 ms·
With cargo: cargo add foo This command will install the current version of foo, and add it to your config file. Then, cargo update will update your
by lalaithion 8y ago
With cargo:
cargo add foo
This command will install the current version of foo, and add it to your config file. Then,
cargo update
will update your package to the highest available version that doesn't bump the major number.