mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
920ee853b3
This is a step towards making it Send+Sync. I'm a little cagey about this in the long term, as there are some mux operations that may technically require multiple fields to be locked for their duration: allowing free-threaded access may introduce some subtle (or not so subtle!) interleaving conditions where the overall mux state is not yet consistent. I'm thinking of prune_dead_windows kicking in while the mux is in the middle of being manipulated. I did try an initial pass of just moving everything under one lock, but there is already quite a lot of mixed read/write access to different aspects of the mux. We'll see what bubbles up later!
21 lines
522 B
TOML
21 lines
522 B
TOML
[package]
|
|
name = "mux-lua"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
config = { path = "../../config" }
|
|
wezterm-dynamic = { path = "../../wezterm-dynamic" }
|
|
wezterm-term = { path = "../../term" }
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
luahelper = { path = "../../luahelper" }
|
|
parking_lot = "0.12"
|
|
portable-pty = { path = "../../pty" }
|
|
smol = "1.2"
|
|
termwiz = { path = "../../termwiz" }
|
|
mux = { path = "../../mux" }
|