1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-10-09 02:42:04 +02:00
Files
comprehensive-rust/xtask
michael-kerscher f4a11a4fc5 Speed up rust crate installs in workflow by using cargo-binstall (#2915)
When cargo xtask install-tools --binstall is used, precompiled binaries
are fetched if available.
Triggers a regular (compilation) install if binary releases do not
exist.

This is now configured to be used by the CI to speed up the build and
deploy workflows where possible.

Currently binary packages exist for:
- mdbook
- mdbook-pandoc
2025-09-19 13:28:03 +02:00
..
2025-04-07 12:18:49 +02:00

xtask

The purpose of the xtask binary is to enable cross platform task automation within the project (somewhat similar to how npm run is used in Node.js projects to run scripts). Please see cargo xtask for more information.

To add support for a new task, add a new arm to the match in the execute_task function, and add a new handler function that contains the logic.