Granular caching, development shell, Nix & Rust integration
For finished binaries, you don't have to provide a Nix build because it can also be done externally as shown in the RustAnalyzer example. The flake is including RustAnalyzer source and RustAnalyzer has no idea and doesn't have to care.
The Rust package manager
In this case the libary is cargo
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly. [maintainer: @Patryk27]
Have a look at naersk, it neither requires generated Nix files nor IFD.
How to do a full, reproducible archive of a Rust project?
3 projects | /r/rust | 8 Jan 2021
Transitioning to Rust as a company
8 projects | /r/rust | 2 Jun 2023
How to package a Rust app using Nix
1 project | dev.to | 6 Jan 2023
How to setup devShell for rust development with bevy?
2 projects | /r/NixOS | 14 Nov 2022
Perfect Docker Images for Rust with Nix
7 projects | /r/rust | 1 Sep 2022