From b1c15aaa1131ffbcfdab3cd2c6b141bfde6a6533 Mon Sep 17 00:00:00 2001 From: Mikkel Luja Rasmussen Date: Sat, 12 Jun 2021 12:59:43 +0200 Subject: [PATCH] Simplified Cargo.toml --- Cargo.lock | 2 +- Cargo.toml | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index afb99b5..f1958a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -229,7 +229,7 @@ dependencies = [ [[package]] name = "bevy_config_cam" -version = "0.1.1" +version = "0.1.2" dependencies = [ "bevy", "rand", diff --git a/Cargo.toml b/Cargo.toml index a287fa1..bbe6e3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_config_cam" -version = "0.1.1" +version = "0.1.2" authors = ["Black Phlox "] license = "MIT OR ISC" edition = "2018" @@ -12,6 +12,7 @@ keywords = ["gamedev", "bevy", "camera", "fps", "3d", ] categories = ["game-development", "game-engines", ] exclude = [ "assets/*", + "credits/*", ".github/*", ] @@ -24,11 +25,18 @@ name = "bevy_config_cam" rand = "0.8.0" strum = "0.21.0" strum_macros = "0.21.1" -bevy = { version = "0.5", default-features = false, features = ["render"] } -[dev-dependencies] -bevy = { version = "0.5", default-features = false, features = ["render", "bevy_winit", "bevy_wgpu", "bevy_gltf"] } +[dependencies.bevy] +version = "0.5" +features = ["render"] +default-features = false -[target.'cfg(target_os = "linux")'.dev-dependencies] -bevy = { version = "0.5", default-features = false, features = [ "x11", "wayland" ] } +[dev-dependencies.bevy] +version = "0.5" +features = ["bevy_winit", "bevy_wgpu", "bevy_gltf"] +default-features = false +[target.'cfg(target_os = "linux")'.dev-dependencies.bevy] +version = "0.5" +features = ["x11", "wayland"] +default-features = false