Workspace setup

This commit is contained in:
2025-01-27 23:58:59 +00:00
parent 3ad90e40be
commit d3807786d2
3 changed files with 27 additions and 5 deletions

12
.editorconfig Normal file
View File

@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

14
.gitignore vendored
View File

@@ -3,10 +3,6 @@
debug/ debug/
target/ target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# These are backup files generated by rustfmt # These are backup files generated by rustfmt
**/*.rs.bk **/*.rs.bk
@@ -19,3 +15,13 @@ Cargo.lock
# and can be added to the global gitignore or merged into this file. For a more nuclear # and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/
# Added by cargo
/target
# Environment variables may contain secrets, for this reason they should NOT be tracked by git
.env
# Sqlite Database Files
**/*.db

4
Cargo.toml Normal file
View File

@@ -0,0 +1,4 @@
[workspace]
resolver = "2"
members = []