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" +