From eeec1d12609790f15182d75662c7f7dabee4cd23 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 3 Oct 2024 18:56:51 +0200 Subject: [PATCH] chore: initial project setup --- .editorconfig | 17 +++++++++++++++++ .gitignore | 1 + .rustfmt.toml | 1 + Cargo.toml | 4 ++++ 4 files changed, 23 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 .rustfmt.toml create mode 100644 Cargo.toml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..af278fc --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# Default to Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = tab +indent_size = 4 + +[*.rs] +indent_size = 2 + +[*.js] +indent_size = 2 + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..218e203 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1 @@ +hard_tabs = true diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..cff96ef --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,4 @@ +[package] +name = "collarmc" +version = "0.1.0" +edition = "2021"