Skip to content

Commit

Permalink
chore: add rust toolchain configuration and update rustfmt settings
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel do Carmo Vieira <[email protected]>
  • Loading branch information
gvieira18 committed Dec 20, 2024
1 parent 4189bf6 commit c7e4fa0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[toolchain]
# The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy.
# https://rust-lang.github.io/rustup/concepts/profiles.html
profile = "default"
channel = "stable"
3 changes: 2 additions & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version = "Two"
edition = "2021"
tab_spaces = 2
newline_style = "Unix"
max_width = 100

0 comments on commit c7e4fa0

Please sign in to comment.