cargo-xtask
bors-ng
Our great sponsors
cargo-xtask | bors-ng | |
---|---|---|
25 | 14 | |
723 | 1,516 | |
- | 0.7% | |
3.0 | 7.2 | |
9 months ago | 8 days ago | |
Elixir | ||
- | 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-xtask
-
clap_completion help requested
Using a cargo-xtask task to generate them as a manual step (inlyne currently does this)
-
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/
-
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)!
-
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.
- Install a CLI in a project (not globally)
-
Speeding up the Rust compiler without changing its code
Why use Python and not simply an xtask?
- Hey Rustaceans! Got a question? Ask here! (43/2022)!
-
Started using Rust for scripting
1) In "serous" projects, there's always a need for some amount of scripting. Rather than crating a scripts directory with .sh files and worrying how grep on mac is different from grep on linux, it is much better for the team's velocity to write the thing in Rust (https://twitter.com/id_aa_carmack/status/989951283900514304). The xtask pattern (I stress that this is a pattern, rather than a library or a cargo subcomand) helps achieve nice UX for this.
bors-ng
-
Bors-NG, declared to be feature frozen and deprecated
Completely independent implementations of the same underlying concept, one of which was written pretty much just for the rust project, and the other was written as a more general tool and service.
-
Two Years and over 700 Websites Later
Or images. On pages like https://bors.tech and https://foodpartners.us the "bloat" is all images. The images are bigger than they were in the 1990's because they look better, even if you don't think they communicate more "information" people may still want them.
-
Ask HN: How are pull requests integrated in a repo with high commit frequency?
According to the README, it bisects. It doesn't matter much for me, though - the batches in our case were never big.
https://github.com/bors-ng/bors-ng/blob/master/README.md#how...
Check out something like Bors, which implements a paradigm that fixes this class of issue: https://github.com/bors-ng/bors-ng
-
This is how auto-merge works at Bumble, how we optimised processes and removed restrictions on the number of tickets per day
Sounds like they settled on the bors model of a batching merge queue. Gitlab's merge trains instead speculatively run all of the merges at once which gives more precise data at a higher cost and longer time, if your number of parallel runners is limited.
- Launch HN: MergeQueue (YC S21) – Automate rebasing and merging for your codebase
- What's in your toolbox? Share your building block crates
-
How should I go about making Rust workflows go faster with CI's with GitHub Actions? Are there any cache actions for Rust or a place I could look for general optimizations?
For projects using bors, CI time is the time to merge after the PR is approved. Plus, many developers use a PR workflow for even solo projects, and in that case you're reviewing your own PR, so you see it immediately and have already reviewed it.
-
Ask HN: What's a side project you built to make money that hasn't?
That sounds almost exactly like bors-ng: https://github.com/bors-ng/bors-ng#a-merge-bot-for-github-pu...
There was also homu, which predated bors and also did more or less the exact same thing.
Does your thing have any features that differentiate it from what bors does?
What are some alternatives?
just - 🤖 Just a command runner
rust-cache - A GitHub Action that implements smart caching for rust/cargo projects
cargo-make - Rust task runner and build tool.
marge-bot - A merge-bot for GitLab
rust - Empowering everyone to build reliable and efficient software.
waihona - Rust crate for performing cloud storage CRUD actions across major cloud providers e.g aws
fzf - :cherry_blossom: A command-line fuzzy finder
sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
htmlbutcher - HTMLButcher is an advanced HTML slicing tool
ZudVPN - A mobile application to deploy private VPN servers in the cloud with DNS ad-blocking and other features
shipit-engine - Deployment coordination
nora - Oracle client for macOS