cargo-make
just
Our great sponsors
cargo-make | just | |
---|---|---|
26 | 161 | |
2,356 | 16,682 | |
- | - | |
9.3 | 9.1 | |
1 day ago | 2 days ago | |
Rust | Rust | |
Apache License 2.0 | Creative Commons Zero v1.0 Universal |
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.
-
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.
-
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?
I recently discovered https://github.com/sagiegurari/cargo-make
-
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
just
-
Which command did you run 1731 days ago?
> When a command has some cognitive requirements I create a script with some ${1:-default} values and I store them all in $PATH enabled local/bin
I would consider using just for this:
-
Using Make – writing less Makefile
Your coworker's experience is more principled: Make is a mediocre tool for executing commands. It wasn't ever designed for that. Although it is pretty common to see what you are mentioning in projects because it doesn't require installing a dependency.
For a repo where an easy to install (single binary) dependency is a non-issue, consider using just. [1] You get `just -l` where you can see all the command available, the ability to use different languages, and overall simpler command writing.
-
Show HN: Just.sh – compiler that turns Justfiles into portable shell scripts
This is fantastic, but I'd say that this solution is somewhat in response to this open issue from 2019:
https://github.com/casey/just/issues/429
I really wish just was included as a package in distributions.
-
Sharing Saturday #496
So far, I didn't work on new features at all but on stabilizing the ground for further development: 1. CMake lists and modules were rewritten a lot, now managing builds and their configurations is much lesser pain. 2. Brought in Justfile for regular tasks, and it's great, no less. 3. Linters, formatters, analyzers for almost all the code (except for Janet for now, as because of it being a niche and young technology, it didn't get enough attention yet). 4. ECS stub. Now runtime class doesn't look like a god object. 5. Started writing unit tests which didn't happen with my personal projects before and maybe indicates how serious am I about this one :D 6. Some of previously hardcoded data has been moved to INI files. Now, if I release the game in 10 years, and in 10 more years some eccentric person decides to make a variant of it, it will be slightly simpler.
-
What’s with DevOps engineers using `make` of all things?
https://github.com/casey/just - more of a command runner but the Justfile syntax is quite Makefile-like.
If you dislike make checkout just https://github.com/casey/just
i've grown to like this for my personal projects. https://github.com/casey/just
Make is not exactly made for task definition and running, but it can be used like so as long as you know its quirks and counter intuitive gotchas, of which there are many seeing as Make is meant for building sources first and foremost. I use it a lot. I've been meaning to convert at least my personal stuff to https://github.com/casey/just or another task runner for some time though, Make can really be annoying sometimes.
-
Show HN: Jeeves – A Pythonic Alternative to GNU Make
Reminds me of `just`. Which I love.
-
Dev Containers: Open, Develop, Repeat...
In my example above, I installed the developer tool "Just" as a Dev Container feature. I could also install it by adding the install script to my Dockerfile. However, I would have to build my own Dockerfile and would have to maintain this piece of code myself. This Dev Container Feature works on different architectures and base images, which makes them convenient to use.
What are some alternatives?
Task - A task runner / simpler Make alternative written in Go
cargo-xtask
Taskfile - Repository for the Taskfile template.
CodeLLDB - A native debugger extension for VSCode based on LLDB
cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.
helix - A post-modern modal text editor.
rst - The open source design documentation tool for everybody [Moved to: https://github.com/vitiral/artifact]
cargo-benchcmp - A small utility to compare Rust micro-benchmarks.
Module Linker - browse modules by clicking directly on "import" statements on GitHub
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
cargo-ebuild - cargo extension that can generate ebuilds using the in-tree eclasses