diff --git a/backend/rustfmt.toml b/backend/rustfmt.toml new file mode 100644 index 0000000..5cf55b7 --- /dev/null +++ b/backend/rustfmt.toml @@ -0,0 +1,3 @@ +unstable_features = true +group_imports = "StdExternalCrate" +imports_granularity = "Module" diff --git a/provisioning/shell.nix b/provisioning/shell.nix index 54ae55a..1179fd7 100644 --- a/provisioning/shell.nix +++ b/provisioning/shell.nix @@ -6,6 +6,6 @@ pkgs.mkShell { pkgs.cargo-edit pkgs.rustc pkgs.rust-analyzer - pkgs.rustfmt + (pkgs.rustfmt.override { asNightly = true; }) ]; }