From 9a80931f1d19aa51af7a77c965d09daae5a866e0 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Thu, 24 Feb 2022 16:09:27 -0500 Subject: [PATCH] Reduce bliss test execution times in dev mode to almost release speed --- Cargo.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index e33a627..2799255 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,3 +30,21 @@ mps-player = { version = "0.6.0", path = "./mps-player", default-features = fals [target.'cfg(target_os = "linux")'.dependencies] # TODO fix need to specify OS-specific dependency of mps-player mps-player = { version = "0.6.0", path = "./mps-player", features = ["mpris-player"] } + +[profile.release] +debug = true +strip = true +lto = true +codegen-units = 4 + +[profile.dev.package.bliss-audio] +debug-assertions = false +overflow-checks = false +debug = true +opt-level = 3 + +[profile.dev.package."*"] +debug-assertions = false +overflow-checks = false +debug = true +opt-level = 3