diff options
Diffstat (limited to 'grasp-audit/shell.nix')
| -rw-r--r-- | grasp-audit/shell.nix | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/grasp-audit/shell.nix b/grasp-audit/shell.nix deleted file mode 100644 index 54bb3b8..0000000 --- a/grasp-audit/shell.nix +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | { pkgs ? import <nixpkgs> {} }: | ||
| 2 | |||
| 3 | pkgs.mkShell { | ||
| 4 | buildInputs = with pkgs; [ | ||
| 5 | # Rust toolchain | ||
| 6 | rustc | ||
| 7 | cargo | ||
| 8 | rustfmt | ||
| 9 | clippy | ||
| 10 | |||
| 11 | # Build dependencies | ||
| 12 | gcc | ||
| 13 | pkg-config | ||
| 14 | |||
| 15 | # Libraries | ||
| 16 | openssl | ||
| 17 | |||
| 18 | # Development tools | ||
| 19 | git | ||
| 20 | ]; | ||
| 21 | |||
| 22 | # Environment variables | ||
| 23 | RUST_BACKTRACE = "1"; | ||
| 24 | RUST_LOG = "info"; | ||
| 25 | |||
| 26 | shellHook = '' | ||
| 27 | echo "🦀 Rust development environment loaded" | ||
| 28 | echo "" | ||
| 29 | echo "Available commands:" | ||
| 30 | echo " cargo build - Build the project" | ||
| 31 | echo " cargo test - Run unit tests" | ||
| 32 | echo " cargo test --ignored - Run integration tests (needs relay)" | ||
| 33 | echo " cargo run --example simple_audit - Run example" | ||
| 34 | echo "" | ||
| 35 | echo "Rust version: $(rustc --version)" | ||
| 36 | echo "Cargo version: $(cargo --version)" | ||
| 37 | ''; | ||
| 38 | } | ||