diff --git a/Cargo.toml b/Cargo.toml index dac149e..90bc608 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,12 @@ members = [ "srv", "gui", ] + +# Enable max optimizations for dependencies, but not for our code: +# Very helpful when developing in Slint. +[profile.dev.package."*"] +opt-level = 3 + +# Enable only a small amount of optimization in debug mode +[profile.dev] +opt-level = 1 diff --git a/gui/Cargo.toml b/gui/Cargo.toml index 2187bd8..a0c8684 100644 --- a/gui/Cargo.toml +++ b/gui/Cargo.toml @@ -49,7 +49,6 @@ features = [ "backend-android-activity-06", ] - [target.'cfg(target_os = "linux")'.dependencies] tokio = { version = "1.48.0", default-features = false, features = ["fs", "rt-multi-thread"] } xdg = "3.0.0"