Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# EditorConfig is awesome: https://editorconfig.org

# top-most EditorConfig file
root = true

# Rust files
[*.rs]
# Indentation style
indent_style = space
indent_size = 2

# Ensure newline at the end of file
insert_final_newline = true

# Set charset to UTF-8
charset = utf-8

# End of line character style
end_of_line = lf

# Trim trailing whitespace
trim_trailing_whitespace = true

# Format Rust files with rustfmt (when available)
rustfmt = true
Loading