nabijaczleweli / cargo-update

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

Is there a way to specify the number of threads to use? #246

Closed JSorngard closed 10 months ago

JSorngard commented 10 months ago

My laptop is very old, and if I run cargo-update it will use all cores, which leaves my laptop difficult to use until it finishes updating. With the normal cargo install command I can specify the number of threads to leave some headroom for other processes, but cargo-update has no such option as far as I can see. Am I missing something obvious, or could something like that be added?

nabijaczleweli commented 10 months ago

cargo install takes -j, trivial to forward that – can you try the current master branch (at least 38c18d91e3fdd7a7cbc4b52b0bd86933845029dd)?

nabijaczleweli commented 10 months ago

aaand in github's continued war against its users i can't tag this [enhancement]

JSorngard commented 10 months ago

That definitely seems to work :D

nabijaczleweli commented 10 months ago

Great; release in v13.3.0.