From 94e0cd0999b2a2da8fa4a40e5658ea853f98091a Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Thu, 14 Aug 2025 10:34:03 -0500 Subject: [PATCH] Add my own crate features to pass through to deps Closes #20 Now this crate can be told to build with or without certain behavior, rather than needing to patch the Cargo.toml file. --- Cargo.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index baa31e9..f312dc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,11 @@ version = "0.3.0" edition = "2024" [dependencies] -bevy = { version = "0.16", features = ["dynamic_linking"] } +bevy = "0.16" bevy-inspector-egui = "0.32.0" -bevy_rapier2d = { version = "0.31.0", features = ["debug-render-2d"] } +bevy_rapier2d = "0.31.0" rand = "0.9.2" + +[features] +dynamic_linking = ["bevy/dynamic_linking"] +debug_ui = ["bevy_rapier2d/debug-render-2d"]