marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
13.32k stars 460 forks source link

[IMPROVEMENT] Use cargo-binstall for cargo packages #2884

Open equal-l2 opened 1 month ago

equal-l2 commented 1 month ago

Please confirm these before moving forward.

Describe the improvement

cargo-binstall is a third-party companion tool for cargo that downloads and installs a binary package instead of building from the source.

Describe how this improvement could help users

Cargo compiles packages from the source, which is somewhat resource-intensive. cargo-binstall reduces the demand by using the binary package.

marticliment commented 1 month ago

From where does cargo-bintsall source the binaries?

equal-l2 commented 3 weeks ago

Sorry for the late reply, according to the README:

Binstall works by fetching the crate information from crates.io and searching the linked repository for matching releases and artifacts, falling back to the quickinstall third-party artifact host, to alternate targets as supported, and finally to cargo install as a last resort.

https://github.com/cargo-bins/cargo-binstall

necrose99 commented 2 weeks ago

cargo-binstall also has a github action to automatically create binaries for windows macos Linux etc.. that rust devs can use to build releases it can use. https://github.com/cargo-bins/cargo-quickinstall also another binary installer registry.