Skip to content

Commit 9a4bf15

Browse files
chore: pretty, added missing files, fixed imports and licenses
1 parent b0b52a0 commit 9a4bf15

17 files changed

+747
-271
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
indent_style = space
9+
indent_size = 4
10+
max_line_length = 100
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
* text=auto eol=lf
2+
3+
# Source code
4+
*.bash text eol=lf
5+
*.bat text eol=crlf
6+
*.c text diff=cpp
7+
*.cc text diff=cpp
8+
*.cmd text eol=crlf
9+
*.coffee text
10+
*.cpi text diff=cpp
11+
*.cpp text diff=cpp
12+
*.css text diff=css
13+
*.cxx text diff=cpp
14+
*.c++ text diff=cpp
15+
*.h text diff=cpp
16+
*.hh text diff=cpp
17+
*.hpp text diff=cpp
18+
*.htm text diff=html
19+
*.html text diff=html
20+
*.h++ text diff=cpp
21+
*.inc text
22+
*.ini text
23+
*.js text
24+
*.json text
25+
*.jsx text
26+
*.less text
27+
*.ls text
28+
*.map text -diff
29+
*.od text
30+
*.onlydata text
31+
*.php text diff=php
32+
*.pl text
33+
*.ps1 text eol=crlf
34+
*.py text diff=python
35+
*.rb text diff=ruby
36+
*.rs text diff=rust
37+
*.sass text
38+
*.scm text
39+
*.scss text diff=css
40+
*.sh text eol=lf
41+
*.sql text
42+
*.styl text
43+
*.tag text
44+
*.ts text
45+
*.tsx text
46+
*.xml text
47+
*.xhtml text diff=html
48+
49+
# Compiled Object files
50+
*.slo binary
51+
*.lo binary
52+
*.o binary
53+
*.obj binary
54+
55+
# Precompiled Headers
56+
*.gch binary
57+
*.pch binary
58+
59+
# Compiled Dynamic libraries
60+
*.so binary
61+
*.dylib binary
62+
*.dll binary
63+
64+
# Compiled Static libraries
65+
*.lai binary
66+
*.la binary
67+
*.a binary
68+
*.lib binary
69+
70+
# Docker
71+
Dockerfile text
72+
73+
# Documentation
74+
*.ipynb text
75+
*.markdown text diff=markdown
76+
*.md text diff=markdown
77+
*.mdwn text diff=markdown
78+
*.mdown text diff=markdown
79+
*.mkd text diff=markdown
80+
*.mkdn text diff=markdown
81+
*.mdtxt text
82+
*.mdtext text
83+
*.txt text
84+
AUTHORS text
85+
CHANGELOG text
86+
CHANGES text
87+
CONTRIBUTING text
88+
COPYING text
89+
copyright text
90+
*COPYRIGHT* text
91+
INSTALL text
92+
license text
93+
LICENSE text
94+
NEWS text
95+
readme text
96+
*README* text
97+
TODO text
98+
99+
# Templates
100+
*.dot text
101+
*.ejs text
102+
*.erb text
103+
*.haml text
104+
*.handlebars text
105+
*.hbs text
106+
*.hbt text
107+
*.jade text
108+
*.latte text
109+
*.mustache text
110+
*.njk text
111+
*.phtml text
112+
*.svelte text
113+
*.tmpl text
114+
*.tpl text
115+
*.twig text
116+
*.vue text
117+
118+
# Configs
119+
Cargo.lock text
120+
*.cnf text
121+
*.conf text
122+
*.config text
123+
.editorconfig text
124+
.env text
125+
.gitattributes text
126+
.gitconfig text
127+
.htaccess text
128+
*.lock text -diff
129+
package.json text eol=lf
130+
package-lock.json text -diff
131+
pnpm-lock.yaml text eol=lf -diff
132+
.prettierrc text
133+
yarn.lock text -diff
134+
*.toml text diff=toml
135+
*.yaml text
136+
*.yml text
137+
browserslist text
138+
Makefile text
139+
makefile text
140+
141+
# Heroku
142+
Procfile text
143+
144+
# Graphics
145+
*.ai binary
146+
*.bmp binary
147+
*.eps binary
148+
*.gif binary
149+
*.gifv binary
150+
*.ico binary
151+
*.jng binary
152+
*.jp2 binary
153+
*.jpg binary
154+
*.jpeg binary
155+
*.jpx binary
156+
*.jxr binary
157+
*.pdf binary
158+
*.png binary
159+
*.psb binary
160+
*.psd binary
161+
*.svg text
162+
*.svgz binary
163+
*.tif binary
164+
*.tiff binary
165+
*.wbmp binary
166+
*.webp binary
167+
168+
# Audio
169+
*.kar binary
170+
*.m4a binary
171+
*.mid binary
172+
*.midi binary
173+
*.mp3 binary
174+
*.ogg binary
175+
*.ra binary
176+
177+
# Video
178+
*.3gpp binary
179+
*.3gp binary
180+
*.as binary
181+
*.asf binary
182+
*.asx binary
183+
*.avi binary
184+
*.fla binary
185+
*.flv binary
186+
*.m4v binary
187+
*.mng binary
188+
*.mov binary
189+
*.mp4 binary
190+
*.mpeg binary
191+
*.mpg binary
192+
*.ogv binary
193+
*.swc binary
194+
*.swf binary
195+
*.webm binary
196+
197+
# Archives
198+
*.7z binary
199+
*.gz binary
200+
*.jar binary
201+
*.rar binary
202+
*.tar binary
203+
*.zip binary
204+
205+
# Fonts
206+
*.ttf binary
207+
*.eot binary
208+
*.otf binary
209+
*.woff binary
210+
*.woff2 binary
211+
212+
# Executables
213+
*.exe binary
214+
*.out binary
215+
*.app binary
216+
217+
# RC files
218+
*.*rc text
219+
220+
# Ignore files
221+
*.*ignore text

.gitignore

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1-
/target
2-
Cargo.lock
3-
/.vscode
1+
# IDEs and editors
2+
.idea/
3+
.project
4+
.classpath
5+
.c9/
6+
*.launch
7+
.settings/
8+
*.sublime-workspace
9+
10+
# Visual Studio Code
11+
.vscode/*
12+
!.vscode/extensions.json
13+
!.vscode/launch.json
14+
!.vscode/settings.json
15+
!.vscode/tasks.json
16+
.history/*
17+
*.vsix
18+
19+
# System files
20+
.DS_Store
21+
Thumbs.db
22+
23+
# Environment files
24+
.env
25+
.env.*
26+
27+
# Log
28+
*.log
29+
30+
# Backup
31+
*.bak
32+
33+
# Generated by Cargo will have compiled files and executables
34+
debug/
35+
target/
36+
37+
# Backup files generated by rustfmt
38+
*.rs.bk
39+
40+
# MSVC Windows builds of rustc generate these, which store debugging information
41+
*.pdb
42+
43+
# Coverage
44+
cobertura.xml
45+
tarpaulin-report.html

.vscode/extensions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"recommendations": [
3+
"EditorConfig.EditorConfig",
4+
"fill-labs.dependi",
5+
"GitHub.vscode-github-actions",
6+
"Gruntfuggly.todo-tree",
7+
"rust-lang.rust-analyzer",
8+
"tamasfe.even-better-toml",
9+
"usernamehw.errorlens",
10+
"vadimcn.vscode-lldb"
11+
]
12+
}

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"rust-analyzer.check.command": "clippy",
4+
"[rust]": {
5+
"editor.defaultFormatter": "rust-lang.rust-analyzer"
6+
}
7+
}

CODE_OF_CONDUCT.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Code of Conduct
2+
3+
As contributors and maintainers, we pledge to respect everyone who contributes by posting issues, updating documentation, submitting pull requests, providing feedback in comments, and any other activities.
4+
5+
Communication through any medium must be constructive and never resort to personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
6+
7+
We promise to extend courtesy and respect to everyone involved in this project regardless of gender, gender identity, sexual orientation, disability, age, race, ethnicity, religion, or level of experience.
8+
We expect anyone contributing to this project to do the same.
9+
10+
If any member of the community violates this code of conduct, the maintainers may take action, removing issues, comments, and PRs or blocking accounts as deemed appropriate.
11+
12+
If you are subject to or witness unacceptable behavior, or have any other concerns, please do not hesitate to contact us.

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Contributing
2+
3+
Welcome, and thank you for your interest in contributing to this project!
4+
5+
<!-- TODO -->

0 commit comments

Comments
 (0)