cargo-make
cargo-xtask
Our great sponsors
cargo-make | cargo-xtask | |
---|---|---|
26 | 26 | |
2,392 | 736 | |
- | - | |
9.3 | 3.0 | |
8 days ago | 10 months ago | |
Rust | ||
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cargo-make
-
Rust Tooling: 8 tools that will increase your productivity
cargo-make aims to be an extensive Rust-written task runner that additionally lets you define workflows to execute your tasks. You can install it using cargo install cargo-make.
- Cargo make: Rust task runner and build tool
-
Hey Rustaceans! Got a question? Ask here (49/2023)!
You might be interested in cargo-make, which is based on TOML, or Just, which has a syntax that is vaguely inspired by Make but much less weird sigils and more suited to non-file-based tasks.
-
Makefile equivalent in Rust ecosystem
I would like to rewrite this project in Rust, but I am not so familiar with Cargo as I am with Make. Is it possible to declare these kinds of rules and targets ? Should I use a build script, a custom tool like cargo-make or something else ? What do you think ?
-
Including a cargo command as a dev dependency
I use just myself, and I personally don't want projects' codebase to decide when something gets cargo installed on my system. For people who feel that's more acceptable, I'll note that cargo-make has first class support for the idea of expressing a task that depends on a cargo plugin:
-
Pain points using Rust for game dev ?
Thank you for the help, created ticket #787 and #788!
-
Just: A Command Runner
https://github.com/sagiegurari/cargo-make
I ended up using it over just because it felt easier to use cross platform, and toml seemed like a right choice
- Run python scripts before compilation using Cargo?
-
Created a simple tool for task automation in Rust
cargo make is used pretty extensively in Bottlerocket OS
-
Anyone use Rust to build SaaS web apps professionally?
Cargo is a pretty robust build tool on it's own, but for that extra automated workflow oomph, I also use cargo-make
cargo-xtask
-
🏃♂️ Use task.go for your Go project scripts
💡 Inspired by matklad/cargo-xtask and based on 🏃♂️ Write your Rust project scripts in task.rs from the Rust ecosystem.
-
clap_completion help requested
Using a cargo-xtask task to generate them as a manual step (inlyne currently does this)
- Cargo xtask: extend cargo with custom commands written in Rust
-
Including a cargo command as a dev dependency
As someone else said just is good for that job, or you could implement an xtask helper for these things and setup a suitable development environment with that: https://github.com/matklad/cargo-xtask/
- Cargo xtask: extend stock, stable cargo with custom commands written in Rust
-
Going beyond build.rs: introducing cargo-px
Well tools like cornucopia, prisma-rust-client, protoc-gen-tonic, they don't generate in build.rs, but instead provide either a cli to be called ahead of time, or provide a library that can be called by your own binary (which should generally follow the xtask pattern)
- Hey Rustaceans! Got a question? Ask here (17/2023)!
-
Best way to include a utility command for my crate?
If I understand, this is a tool for when working on the project itself? Akin to a helper script? You could go the cargo install route as already pointed out but there is also the xtask convention.
-
We have getrandom at home
For simple cli apps for internal use, such as cargo-xtasks, I prefer pico_args due to its fast compile times.
-
Rust for Web Development | An Honest Evaluation
For developer-oriented stuff, there's tools like xshell and cargo-xtask. For operator tasks that need to run in a deployed environment, it's not usually a big lift to add CLI subcommands to your binary. It's certainly more boilerplate and inertia than doing stuff in a live REPL, though, and sometimes difficult to recommend for truly one-off situations.
What are some alternatives?
just - 🤖 Just a command runner
cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.
bors-ng - 👁 A merge bot for GitHub Pull Requests
cargo-benchcmp - A small utility to compare Rust micro-benchmarks.
rust - Empowering everyone to build reliable and efficient software.
rst - The open source design documentation tool for everybody [Moved to: https://github.com/vitiral/artifact]
waihona - Rust crate for performing cloud storage CRUD actions across major cloud providers e.g aws
cargo-ebuild - cargo extension that can generate ebuilds using the in-tree eclasses
fzf - :cherry_blossom: A command-line fuzzy finder
cargo-deb - A cargo subcommand that generates Debian packages from information in Cargo.toml
zoxide - A smarter cd command. Supports all major shells.