Main thing to note here is that the open crate has deprecated open::that_in_background, but made open::that non-blocking. I think this is OK, but I'm a little cagey about what will happen with this on Windows. We may need to spawn our own thread for this if things go awry.
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "config"
|
|
version = "0.1.0"
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.9"
|
|
|
|
[build-dependencies]
|
|
git2 = { version = "0.14", default-features = false }
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
bitflags = "1.3"
|
|
chrono = {version="0.4", features=["unstable-locales"]}
|
|
colorgrad = "0.6"
|
|
dirs-next = "2.0"
|
|
enum-display-derive = "0.1"
|
|
hostname = "0.3"
|
|
lazy_static = "1.4"
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
luahelper = { path = "../luahelper" }
|
|
mlua = {version="0.8.0-beta.4", features=["vendored", "lua54", "async", "send"]}
|
|
# file change notification
|
|
notify = "5.0.0-pre.15"
|
|
ordered-float = { version = "3.0", features = ["serde"] }
|
|
portable-pty = { path = "../pty", features = ["serde_support"]}
|
|
promise = { path = "../promise" }
|
|
serde = {version="1.0", features = ["rc", "derive"]}
|
|
shlex = "1.1"
|
|
smol = "1.2"
|
|
termwiz = { path = "../termwiz", features=["use_serde"] }
|
|
toml = "0.5"
|
|
umask = { path = "../umask" }
|
|
wezterm-dynamic = { path = "../wezterm-dynamic" }
|
|
wezterm-bidi = { path = "../bidi" }
|
|
wezterm-input-types = { path = "../wezterm-input-types" }
|
|
wezterm-term = { path = "../term", features=["use_serde"] }
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
winapi = { version = "0.3", features = ["winuser"]}
|