Rustshop Flakebox - a full Rust dev env / DX flake with crane inside #399
dpc
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/rustshop/flakebox
Some background and motivation: Over last year of working professionally on a Nix + Rust based project, we’ve built a great CI, lints, polished things etc. It’s really lovely to work with. Crane was used for build Rust in the CI the whole time.
The problem is - now I want the same experience everywhere, and I can’t be copying and constantly updating the same set of files (scripts, configs, etc.) between projects. At the core, I want the same thing in every Rust project (+/- some customizations).
So this is what I’m trying to build. You import a flake, do some minimal initial setup and it will generate and set up everything for you. With time you can customize locally and contribute the things you need upstream, so you can reuse in all your projects.
As I'm happy with
crane
, Flakehub will also include basiccrane
andfenix
support. Nothing too facy.flekeboxLib
has aflakeboxLib.{craneLib,craneNightlyLib,craneStableLib}
which are well... justcraneLib
fromcrane
with a toolchain initialized, ready to go.I thought it might be worth mentioning.
Beta Was this translation helpful? Give feedback.
All reactions