diff options
author | HampusM <hampus@hampusmat.com> | 2023-10-06 16:36:50 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-10-06 16:36:50 +0200 |
commit | e40fd63dd35430f234d65806ca7e0d6bea364bfc (patch) | |
tree | 99134ec1b5fae1f5315460ddb4951ba0a2526e14 | |
parent | 5053b61f71060f82afc0093a36277c04baeef8ac (diff) |
add project base
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Cargo.lock | 7 | ||||
-rw-r--r-- | Cargo.toml | 6 | ||||
-rw-r--r-- | rustfmt.toml | 11 | ||||
-rw-r--r-- | src/main.rs | 1 |
5 files changed, 26 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..01430c1 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "game-newest" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..17c9101 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "game-newest" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..4d1e29f --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,11 @@ +max_width = 90 +brace_style = "AlwaysNextLine" +group_imports = "StdExternalCrate" +wrap_comments = true +comment_width = 90 +format_code_in_doc_comments = true +imports_layout = "HorizontalVertical" +imports_granularity = "Module" +newline_style = "Unix" +reorder_impl_items = true + diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..f328e4d --- /dev/null +++ b/src/main.rs @@ -0,0 +1 @@ +fn main() {} |