Skip to content

Commit

Permalink
Add rust-toolchain.toml and rustfmt.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Dec 16, 2024
1 parent 386d54c commit a8d1ba1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.82.0"
9 changes: 9 additions & 0 deletions rust/rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tab_spaces = 4
newline_style = "Auto"
reorder_imports = true
reorder_modules = true
reorder_impl_items = false
indent_style = "Block"
normalize_comments = false
imports_granularity = "Module"
group_imports = "StdExternalCrate"

0 comments on commit a8d1ba1

Please sign in to comment.