mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-12-09 17:09:42 -05:00
update cursive
`cursive` now requires `Send + Sync` bounds, so I had to switch from `Rc<RefCell<...>>` to `Arc<Mutex<...>>`. I also coalesced some lock calls together, hopefully without introducing any deadlocks. I don't see any calls into the UI that would need the model while these are held, and it seemed fine in a quick test.
This commit is contained in:
@@ -43,7 +43,7 @@ blake3 = "1.0.0"
|
||||
bpaf = { version = "0.9.1", features = ["autocomplete", "bright-color", "derive"]}
|
||||
bytes = "1"
|
||||
byteorder = "1.0"
|
||||
cursive = { version = "0.20.0", default-features = false, features = ["termion-backend"] }
|
||||
cursive = { version = "0.21.1", default-features = false, features = ["termion-backend"] }
|
||||
db = { package = "moonfire-db", path = "db" }
|
||||
futures = "0.3"
|
||||
h264-reader = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user