From 361d05de322d4e24dffd735c76a01b822ec32b4e Mon Sep 17 00:00:00 2001 From: Paul Hansen Date: Sun, 20 Aug 2023 16:08:20 -0500 Subject: [PATCH] Use "dep:" syntax to prevent bevy_dylib being a cargo feature Removes a potential footgun as you should use the dynamic_linking feature. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1703a0500e363..e784fef521da6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,7 @@ default = [ ] # Force dynamic linking, which improves iterative compile times -dynamic_linking = ["bevy_dylib", "bevy_internal/dynamic_linking"] +dynamic_linking = ["dep:bevy_dylib", "bevy_internal/dynamic_linking"] # Provides animation functionality bevy_animation = ["bevy_internal/bevy_animation"]