-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
47 lines (45 loc) · 1.37 KB
/
Copy pathshell.nix
File metadata and controls
47 lines (45 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{ pkgs }:
let
tag = "[shell.nix]";
in
pkgs.mkShell {
buildInputs = with pkgs; [
cargo-audit
cargo-bloat
cargo-crev # Review system for verifying security & quality of Cargo deps
cargo-criterion # Benchmarker
cargo-edit
# cargo-expand # Rust macro expansion utility TODO broken for now
# cargo-make # build tool on top of cargo
cargo-msrv # Find the Minimum Supported Rust Version for a crate
# cargo-ndk # Android build support for Rust
cargo-nextest # A new, faster test runner for Rust.
cargo-outdated # Check for outdated dependencies
cargo-watch # Execute commands when Rust project files change
cargo-workspaces # Optimizes the workflow around cargo workspaces
# clang
# jetbrains.rust-rover # Quite large, but useful for its debugger GUI
openssl
pkg-config
(rust-bin.stable.latest.default.override {
extensions = [
"rustfmt"
"rust-src"
"rust-analyzer"
];
targets = [
"aarch64-apple-darwin"
"aarch64-unknown-linux-gnu"
"x86_64-unknown-linux-gnu"
"wasm32-unknown-unknown"
];
})
trunk # Build, bundle & ship your Rust WASM app to the web
wasm-pack # A tool to make WASM & Rust play nicely
];
shellHook = ''
export RUST_BACKTRACE=1
>&2 echo "${tag} Executing 'cargo clean'..."
cargo clean
'';
}