Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Top 6 Nix Cargo Projects
-
crane
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
Project mention: Can rustc generate identical binaries, with the same hash, from the same souce code? | /r/rust | 2023-06-25 -
naersk
Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly. [maintainer: @Patryk27]
i would also recommend using crane or naersk since iirc rustPlaform.buildRustPackage can mangle some of these options (or maybe i just did something wrong lol)
-
Onboard AI
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.
-
-
-
-
If you want to iterate with nix instead of cargo, crate2nix and cargo2nix provides more caching and more fine control over your dependencies. I haven't used these two so you would have to decide for yourself. You may also want to try out nocargo for something more experimental.
Nix Cargo related posts
- Help with building a 32bit library with cargo
- Rust cross-compilation without struggles by using the nixpkgs-cross-overlay
- How to package a Rust app using Nix
- Nix shell related questions (for rust)
- How to setup devShell for rust development with bevy?
- Nix & Rust - cargo2nix 0.11.0 released
- Introducing Crane: Composable and Cacheable Builds with Cargo and Nix
-
A note from our sponsor - SonarQube
www.sonarqube.org | 2 Oct 2023
Index
What are some of the best open-source Cargo projects in Nix? This list will help you:
Project | Stars | |
---|---|---|
1 | crane | 557 |
2 | naersk | 552 |
3 | crate2nix | 282 |
4 | cargo2nix | 248 |
5 | nix-cargo-integration | 144 |
6 | nocargo | 99 |