Allow to compress binaries with UPX
Add upx option to compress binaries with UPX on Windows and Linux (see https://upx.github.io).
Contributes to #6
Thanks for the PR! Could you add a test for this option?
Added to CI in https://github.com/taiki-e/upload-rust-binary-action/pull/90/commits/c7c5a13b0ba594f598549e34f5db70033d0db023
cc @damooo (who requested UPX support in https://github.com/taiki-e/upload-rust-binary-action/issues/54)
UPX appears to greatly reduce the program size. I'm really looking forward to using it!
Hi @taiki-e I'd really appreciate it if this PR could be moved forward and merged. I'm currently working on some Rust programs that run on OpenWRT, where storage space is extremely limited—typically around 30MB of available space. UPX has been tested and can reduce binary sizes by 30% to 60%, which is a huge improvement in such constrained environments. If there's any issue with this PR or if you need help addressing them, I'm happy to assist!