Our great sponsors
Make production Rust binaries auditable
The JSON schema does not map to any existing format. We tried, but they just aren't suitable for the task. The existing formats are not designed for this, and so end up being verbose, and don't play nice with reproducible builds (e.g. SPDX includes a timestamp). And you still need the binary parsing step and the zlib decompression step, so embedding SPDX doesn't end up making it much easier to consume than the custom format, which is dead simple and maps very well to data structures that vulnerability scanners already use.
Rust Shop is a fake cloud-based software company that you can fork.
Many thanks to u/dpc_pw, whose notes on GitHub were my starting point for the flake definition. (I also just realized I unwittingly gave my article an almost-identical title by the time I was done refining it, so I’m more indebted to them than I thought.)
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
If you haven't already, I recommend checking out crane for building extensible workflows using cargo and Nix (e.g. running clippy, cargo-audit, cargo-nextest, cargo-tarpaulin, etc.)
[alpha] Build Rust crates with Nix Build System.
Thank you. It looks very useful, so I’ll give it a try. Do you know, offhand, whether I can use crane to build a dependency specified in Cargo.toml with extra settings? I have a more complicated Rust application I’m trying to build with Nix. The solution I’ve arrived at for the moment is building with nocargo just so I can override OUT_DIR when building opencv, but it doesn’t work with LTO and the end result is inferior to my starting point. (If there’s a way to customize the opencv build without needing any extra packages, I’d love to hear about that too.)
Federated E-Cash Mint
I can second that. If you're looking for a non-trivial reference project that uses crane: https://github.com/fedimint/fedimint/blob/master/flake.nix - I'm working on this project full time now and keep tweaking and optimizing as the real needs and requirements arise.
Rust bindings for OpenCV 3 & 4
I’m trying to get around a known build issue—it would be great for it to be fixed upstream, but I don’t have any control over it except for setting OUT_DIR during its compilation.
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 | reddit.com/r/NixOS | 14 Nov 2022
Nix & Rust - cargo2nix 0.11.0 released
4 projects | reddit.com/r/rust | 15 May 2022
Introducing Crane: Composable and Cacheable Builds with Cargo and Nix
3 projects | reddit.com/r/rust | 8 May 2022
Nixery – Docker images on the fly with Nix
8 projects | news.ycombinator.com | 18 Apr 2022