Every shared lock was std::sync::Mutex with lock().unwrap() (~150 sites), so a panic in any session's reader or callback poisoned the lock and the next UI frame panicked too, dropping every open session. Locks are now parking_lot::Mutex (no poisoning; already in the dependency tree), and a panic hook reports worker panics as an error toast instead of the session silently stopping (F3, F4).
28 lines
670 B
TOML
28 lines
670 B
TOML
[package]
|
|
name = "nexus"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
build = "build.rs"
|
|
|
|
[[bin]]
|
|
name = "nexus-terminal"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
nexus-core = { path = "../core" }
|
|
eframe = { version = "0.36", default-features = false, features = ["default_fonts", "glow", "wayland", "x11", "accesskit", "persistence"] }
|
|
egui = "0.36"
|
|
parking_lot = "0.12"
|
|
egui-phosphor = "0.14"
|
|
rfd = "0.17"
|
|
image = { version = "0.25", default-features = false, features = ["png"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
regex = "1"
|
|
alacritty_terminal = "0.26.0"
|
|
chrono = "0.4.45"
|
|
arboard = "3.6.1"
|
|
|
|
[build-dependencies]
|
|
winresource = "0.1"
|