mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 06:12:16 +03:00
5e5989f3e2
Previously, the config crate would get rebuilt each time the git state changed, which has a lot of fan out and makes the build take longer than it really needs to. This commit breaks out the version changing stuff to its own crate and then provides a runtime mechanism for assigning the version information back into the config crate. The env-bootstrap crate is responsible for setting that up.
51 lines
1.4 KiB
TOML
51 lines
1.4 KiB
TOML
[package]
|
|
name = "config"
|
|
version = "0.1.0"
|
|
authors = ["Wez Furlong <wez@wezfurlong.org>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.10"
|
|
|
|
[features]
|
|
distro-defaults = []
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
bitflags = "1.3"
|
|
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.3", features=["vendored", "lua54", "async", "send"]}
|
|
# file change notification
|
|
notify = "5.0.0"
|
|
once_cell = "1.8"
|
|
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.7"
|
|
umask = { path = "../umask" }
|
|
wezterm-config-derive = { version="0.1", path="derive" }
|
|
wezterm-dynamic = { path = "../wezterm-dynamic" }
|
|
wezterm-bidi = { path = "../bidi" }
|
|
wezterm-input-types = { path = "../wezterm-input-types" }
|
|
wezterm-ssh = { path = "../wezterm-ssh" }
|
|
wezterm-term = { path = "../term", features=["use_serde"] }
|
|
|
|
[target."cfg(unix)".dependencies]
|
|
nix = "0.26"
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
winapi = { version = "0.3", features = ["winuser"]}
|