Add more Rust tools

This commit is contained in:
Luc Perkins 2022-07-31 22:47:19 +02:00
parent 03bd928a28
commit f6ab73a1d3
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
2 changed files with 5 additions and 1 deletions

View file

@ -172,6 +172,8 @@ The sections below list what each template includes. In all cases, you're free t
- Version 1.6.2 if neither is present
- [rust-analyzer] 2022-07-11
- [cargo-audit] 0.17.0
- [cargo-deny] 0.12.1
### [`scala`](./scala/)
@ -190,6 +192,8 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
[buf]: https://github.com/bufbuild/buf
[cachix]: https://www.cachix.org
[cargo]: https://doc.rust-lang.org/cargo
[cargo-audit]: https://crates.io/crates/cargo-audit
[cargo-deny]: https://crates.io/crates/cargo-deny
[clippy]: https://github.com/rust-lang/rust-clippy
[cue]: https://cuelang.org
[damon]: https://github.com/hashicorp/damon

View file

@ -27,7 +27,7 @@
deps = with pkgs; [ openssl pkgconfig ];
rustTools = with pkgs;
[ rust-analyzer ] ++ optionals isLinux (with pkgs; [ cargo-watch ]);
[ cargo-audit cargo-deny rust-analyzer ] ++ optionals isLinux (with pkgs; [ cargo-watch ]);
in {
packages.default = rust;