Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
equal-l2 opened this issue Oct 23, 2024 · 4 comments
Closed
3 tasks done

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

equal-l2 opened this issue Oct 23, 2024 · 4 comments
Assignees
Labels
cargo enhancement An improvement to WingetUI ready-to-go
Milestone

Comments

@equal-l2
Copy link

Please confirm these before moving forward.

  • I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
  • This improvement refers to an existing feature. If you want to suggest a new feature, please use this template.
  • This improvement is not a bug. If you want to report a bug, please use this template.

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.

@equal-l2 equal-l2 added the enhancement An improvement to WingetUI label Oct 23, 2024
@marticliment
Copy link
Owner

From where does cargo-bintsall source the binaries?

@equal-l2
Copy link
Author

equal-l2 commented Oct 27, 2024

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
Copy link

necrose99 commented Nov 8, 2024

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.

@laundmo
Copy link

laundmo commented Feb 7, 2025

cargo-bins/cargo-quickinstall also another binary installer registry.

Using that would be redundant, as cargo-binstall already uses it when no binary release is attached to the repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cargo enhancement An improvement to WingetUI ready-to-go
Projects
None yet
Development

No branches or pull requests

4 participants