From 776f1af086710fe2f0d3b32d08e89508764fafa9 Mon Sep 17 00:00:00 2001 From: Il Harper Date: Mon, 7 Aug 2023 23:43:16 +0800 Subject: [PATCH] chore(instwin): config style for rust --- .editorconfig | 3 +++ .gitignore | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/.editorconfig b/.editorconfig index d68dd91d..b1edb44c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -26,3 +26,6 @@ indent_size = 4 [*.gotext.json] indent_size = 4 + +[*.rs] +indent_size = 4 diff --git a/.gitignore b/.gitignore index a18281c6..1c3adaa5 100644 --- a/.gitignore +++ b/.gitignore @@ -316,3 +316,15 @@ iOSInjectionProject/ *.temp.json lib/ dist/ + +# Generated by Cargo +# will have compiled files and executables +debug/ +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 +**/*.rs.bk