From 91c082def31b67ebb536c7afdd7f9df0b8ed2cfd Mon Sep 17 00:00:00 2001 From: Crizomb Date: Sun, 28 Dec 2025 02:04:41 +0100 Subject: [PATCH] oupsss --- .gitignore | 1 + Cargo.lock | 1 + Cargo.toml | 1 + rustfmt.toml | 5 +++++ 4 files changed, 8 insertions(+) create mode 100644 rustfmt.toml diff --git a/.gitignore b/.gitignore index ea8c4bf..c8cc50d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +.cargo diff --git a/Cargo.lock b/Cargo.lock index 5415b42..a760f71 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -328,6 +328,7 @@ name = "bevy-santa" version = "0.1.0" dependencies = [ "bevy", + "rand", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 62c4c7b..3febf41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,4 @@ edition = "2024" [dependencies] bevy = "0.17.3" +rand = "0.9.2" diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..dcfbf66 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,5 @@ +max_width = 120 +chain_width = 120 +fn_call_width = 120 +use_small_heuristics = "Max" +