Page MenuHomePhabricator

Support cargo-binstall for toolforge-rs binaries
Open, LowPublic

Description

cargo-binstall is a tool to try downloading Rust binaries from their repositories instead of compiling them locally, which can be slow. Metadata needs to be specified in Cargo.toml, see https://github.com/cargo-bins/cargo-binstall/blob/main/SUPPORT.md.

The toolforge crate publishes a "toolforge-tunnel" CLI, and CI automatically builds binaries when a tag is pushed: https://gitlab.wikimedia.org/repos/mwbot-rs/toolforge/-/releases. So for this task, we need to add the correct metadata in Cargo.toml so cargo-binstall can find the published binaries.


This is a good first task, let us know if you have any questions! Also take a look at mwbot-rs's contributing instructions.