kindof a lot going on in this commit, unintentionally: * Need the lua context set to be moved into the config crate otherwise configs cannot be parsed by the server and we end up with the default configs * Make the server use smol for async io * Drop the use of the daemonize crate, which I had forked anyway. Just inline our own tighter daemonize module * Improve daemon spawning synchronization, however, it still needs work for windows to avoid blocking forever where we don't do daemonizing.
31 lines
749 B
TOML
31 lines
749 B
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
|
|
|
|
[build-dependencies]
|
|
vergen = "3"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
bstr = "0.2"
|
|
dirs = "2.0"
|
|
filenamegen = "0.2"
|
|
hostname = "0.3"
|
|
lazy_static = "1.4"
|
|
libc = "0.2"
|
|
luahelper = { path = "../luahelper" }
|
|
log = "0.4"
|
|
# file change notification
|
|
notify = "4.0"
|
|
portable-pty = { path = "../pty", features = ["serde_support"]}
|
|
serde = {version="1.0", features = ["rc", "derive"]}
|
|
termwiz = { path = "../termwiz" }
|
|
toml = "0.4"
|
|
wezterm-term = { path = "../term", features=["use_serde"] }
|
|
mlua = {version="0.2", features=["vendored"]}
|