Set opt-level=3 for dependencies in debug builds

This commit is contained in:
hulthe committed 2026-10-03 15:41:47 +02:00
1 parent f11cb56c12
commit 231f964ac8
2 files changed
+9 -1

No files matched your search

+9
View File
@@ -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
-1
View File
@@ -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"