Skip to content

Commit f04a013

Browse files
committed
Add rust-toolchain.toml and rustfmt.toml
1 parent f3b85cd commit f04a013

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

rust/rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
channel = "1.82.0"

rust/rustfmt.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
tab_spaces = 4
2+
newline_style = "Auto"
3+
reorder_imports = true
4+
reorder_modules = true
5+
reorder_impl_items = false
6+
indent_style = "Block"
7+
normalize_comments = false
8+
imports_granularity = "Module"
9+
group_imports = "StdExternalCrate"

0 commit comments

Comments
 (0)