nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

Flag to build updated crates in debug mode #49

Closed dtolnay closed 7 years ago

dtolnay commented 7 years ago

The cargo install command has a --debug flag, as in cargo install mdbook --debug. So something like:

cargo install-update mdbook --debug

This is useful for tools that compile slowly in release mode but run fast enough even in debug mode.

nabijaczleweli commented 7 years ago

As of 3823f08566fb9467d7466bdcdd0e4b93488cb26c you can use install-update-config:

cargo install-update-config mdbook --debug

Which will set mdbook to compile in debug mode. Reflexively, use --release to disable.

nabijaczleweli commented 7 years ago

Released in v1.2.0.