From d7f7214497a63ff721d6ad7ec7b44bb05b4c9a0f Mon Sep 17 00:00:00 2001 From: DublikuntMux Date: Fri, 11 Aug 2023 17:39:26 +0300 Subject: [PATCH] optimize: reduce compile time --- Cargo.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c370209..4e2e89c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,17 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/SergioRibera/bevy_splash_screen" keywords = ["gamedev", "ui", "bevy"] +[workspace] +resolver = "2" + +[profile.dev] +opt-level = 1 + +[profile.dev.package."*"] +opt-level = 3 + [dependencies] -bevy = "0.11" +bevy = { version = "0.11", default-features = false } bevy_tweening = "0.8" [patch.crates-io]