fix(rust-fmt): Better formatting

This commit is contained in:
sinavir 2024-10-13 19:51:08 +02:00
parent a02bb292be
commit 9124550ad0
2 changed files with 4 additions and 1 deletions

3
backend/rustfmt.toml Normal file
View file

@ -0,0 +1,3 @@
unstable_features = true
group_imports = "StdExternalCrate"
imports_granularity = "Module"

View file

@ -6,6 +6,6 @@ pkgs.mkShell {
pkgs.cargo-edit pkgs.cargo-edit
pkgs.rustc pkgs.rustc
pkgs.rust-analyzer pkgs.rust-analyzer
pkgs.rustfmt (pkgs.rustfmt.override { asNightly = true; })
]; ];
} }