fix(rust-fmt): Better formatting
This commit is contained in:
parent
a02bb292be
commit
9124550ad0
2 changed files with 4 additions and 1 deletions
3
backend/rustfmt.toml
Normal file
3
backend/rustfmt.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
unstable_features = true
|
||||||
|
group_imports = "StdExternalCrate"
|
||||||
|
imports_granularity = "Module"
|
|
@ -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; })
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue