mfgames-project-setup-flake/src/configs/rustfmt.nix

17 lines
328 B
Nix

inputs:
let
data = {
brace_style = "AlwaysNextLine";
indent_style = "Block";
reorder_imports = true;
imports_layout = "HorizontalVertical";
max_width = 80;
group_imports = "StdExternalCrate";
imports_granularity = "Module";
};
in
{
inherit data;
output = "rustfmt.toml";
format = "toml";
}