From 10f5a05b356a888ce8b95f26c10e279a95572368 Mon Sep 17 00:00:00 2001 From: alemi Date: Sun, 10 Nov 2024 01:59:32 +0100 Subject: [PATCH] chore: project setup --- .editorconfig | 10 ++++++++++ .gitignore | 1 + .rustfmt.toml | 1 + Cargo.toml | 7 +++++++ src/lib.rs | 0 5 files changed, 19 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 .rustfmt.toml create mode 100644 Cargo.toml create mode 100644 src/lib.rs diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..011b707 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +# 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 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..a00b53c --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "mmp" +version = "0.1.0" +edition = "2021" + +[lib] + diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..e69de29