Skip to content

Commit

Permalink
[PR] #317 from rust-malaysia: RIIR
Browse files Browse the repository at this point in the history
Rewrite it in Rust
  • Loading branch information
hykilpikonna authored Oct 23, 2024
2 parents cf56c60 + 0ca67a5 commit b5b49ec
Show file tree
Hide file tree
Showing 20 changed files with 6,230 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[env]
CARGO_WORKSPACE_DIR = { value = "", relative = true }
71 changes: 71 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
# Change these settings to your own preference
indent_style = space
indent_size = 4

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.csv]
trim_trailing_whitespace = false

[*.js]
indent_style = space
indent_size = 4

[*.json]
indent_style = space
indent_size = 4

[*.md]
trim_trailing_whitespace = false

[*.py]
indent_style = space
indent_size = 4

[*.rs]
indent_style = space
indent_size = 4

[*.sh]
indent_style = space
indent_size = 4

[*.toml]
indent_style = space
indent_size = 4

[*.{yaml,yml}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false

[.github/{actions,workflows}/**/*.yml]
indent_style = space
indent_size = 2

[Cargo.toml]
indent_style = space
indent_size = 4

[Makefile]
indent_style = tab
indent_size = 4

[neofetch]
indent_style = space
indent_size = 4

[package.json]
indent_style = space
indent_size = 2
19 changes: 17 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto
* text=auto eol=lf

*.csv text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.py text eol=lf
*.rs text eol=lf
*.sh text eol=lf
*.toml text eol=lf
*.txt text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
Cargo.lock text eol=lf merge=binary
Makefile text eol=lf
MANIFEST.in text eol=lf
neofetch text eol=lf
Loading

0 comments on commit b5b49ec

Please sign in to comment.