Skip to content

Commit

Permalink
Added basic bevy cargo.toml and skeleton app
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyQuark committed Feb 14, 2023
1 parent 0da368a commit 5dd6258
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
40 changes: 40 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[package]
name = "trader"
version = "0.1.0"
edition = "2021"
authors = ["TimothyQuark"]
description = "A small hobby Roguelike game which uses Bevy and the ESC design pattern"
license = "MIT"
readme = "README.md"
repository = "https://github.com/TimothyQuark/trader"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
pathfinding = "3.0.11"
rand = {version = "0.8.4", features = ["small_rng"]}

[dependencies.bevy]
version = "0.9.1"
default-features = true
# These are the remaining default features other than `bevy_audio` and `mp3`.
# Leave out unnecessary features.
features = [
"dynamic" #dynamic compilation (remove when compiling game to be shipped!)
# "bevy_dynamic_plugin", # this is not dynamic compile
# "render",
# # "bevy_wgpu",
# "bevy_winit",
# "bevy_gilrs",
# "bevy_gltf",
# "png",
# "hdr",
# "x11",
]

[profile.dev]
opt-level = 1

# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
7 changes: 7 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use bevy::prelude::*;

fn main() {
App::new()
.add_plugins(DefaultPlugins)
.run();
}

0 comments on commit 5dd6258

Please sign in to comment.