diff --git a/Cargo.toml b/Cargo.toml index de59377..8752d7b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,5 @@ name = "bevy-game" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] +bevy = "0.12.0" diff --git a/flake.nix b/flake.nix index f265079..fa9164a 100644 --- a/flake.nix +++ b/flake.nix @@ -40,9 +40,12 @@ default = pkgs.mkShell { # The Nix packages provided in the environment packages = (with pkgs; [ - # The package provided by our custom overlay. Includes cargo, Clippy, cargo-fmt, - # rustdoc, rustfmt, and other tools. + # Fluff onefetch + cargo-mommy + # Required and other tools + pkg-config + alsa-lib rustToolchain ]) ++ pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ libiconv ]); shellHook = '' diff --git a/src/main.rs b/src/main.rs index 1248691..d216c17 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,7 @@ +use bevy::prelude::*; + fn main() { - println!("Heyo, g*mers!"); + App::new() + .add_plugins(DefaultPlugins) + .run(); }