From e5cf92221fbb5331a6252431f138eba1ac6310c1 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 28 Nov 2025 00:33:46 +0100 Subject: [PATCH] Add dev utils (#120) --- .editorconfig | 2 ++ shell.nix | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .editorconfig create mode 100644 shell.nix diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3e3f23a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,2 @@ +[*.rs] +indent_style = tab diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..da5f680 --- /dev/null +++ b/shell.nix @@ -0,0 +1,14 @@ +{ + pkgs ? import { }, +}: +pkgs.mkShell { + nativeBuildInputs = [ pkgs.pkg-config ]; + + buildInputs = [ + pkgs.cargo + pkgs.rustc + pkgs.rustPlatform.bindgenHook + pkgs.cairo + pkgs.rust-analyzer + ]; +}