Fix GUI taking 100% of CPU core

Closes #480
This commit is contained in:
Luke D. Jones
2024-05-18 12:59:17 +12:00
parent 219bd559b6
commit ea988279a8
6 changed files with 121 additions and 95 deletions

View File

@@ -12,12 +12,11 @@ edition.workspace = true
default = []
mocking = []
x11 = ["slint/backend-winit-x11"]
[build]
rustflags = ["--cfg", "tokio_unstable"]
# Requires RUSTFLAGS="--cfg tokio_unstable"
tokio-debug = ["console-subscriber"]
[dependencies]
console-subscriber = "0.2.0"
console-subscriber = { version = "0.2.0", optional = true }
nix = { version = "^0.28.0", features = ["fs"] }
tempfile = "3.3.0"