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 + ]; +}