There are several ways to provide packaging and development enviornment for Rust projects.
Here’s a simple template to begin with:
buildRustPackage
If you just want to package a Rust program, use buildRustPackage.
Crane
You may also be interested in using crane for advanced projects. Some example projects that do this:
| Project | Description |
|---|---|
| https://github.com/srid/dioxus-desktop-template | A desktop app |
| https://github.com/srid/nixci | A CLI app |