From 763a55bab83c8c9b0ba2c97c0accb64b7ab66e2f Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 6 Apr 2022 14:29:45 +0200 Subject: [PATCH] =?UTF-8?q?Initial=20commit!=20=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 14 ++++++++++++++ Cargo.toml | 9 +++++++++ rustfmt.toml | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 rustfmt.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6985cf1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +# 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 + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..1a8a2a7 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +# https://doc.rust-lang.org/cargo/reference/manifest.html + +[package] +name = "leetcode" +version = "0.0.0" +edition = "2021" + +[lib] +path = "source/lib.rs" diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..4c1eefa --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,2 @@ +max_width = 80 +tab_spaces = 2