cargo-bins / cargo-binstall

Binary installation for rust projects
GNU General Public License v3.0
1.61k stars 58 forks source link

Can support install from github url #1971

Open ahaoboy opened 3 hours ago

ahaoboy commented 3 hours ago

Perhaps another tool could be developed based on cargo-binstall that could install the latest version of a program from a github url and the corresponding release page, but the two are very similar. Perhaps this installation method could support some private gitlab repositories?

cargo binstall https://github.com/awslabs/llrt
cargo binstall https://github.com/awslabs/llrt/releases
ahaoboy commented 2 hours ago

This installation method can mainly install some non-rust programs, but they have similar release names rules as rust programs.

cargo binstall https://github.com/quickjs-ng/quickjs/releases
NobodyXu commented 43 minutes ago

Well cargo-bins-tall supports --git to install crates not released on crates.io and supports private github repositories as well.

We also support private cargo registry.

We haven't got support for gitlab yet or for non-rust crate, but I'd welcome any contribution and is willing to review them.