mirror of
https://github.com/wez/wezterm.git
synced 2024-12-29 00:21:57 +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.
41 lines
1.3 KiB
TOML
41 lines
1.3 KiB
TOML
[package]
|
|
name = "env-bootstrap"
|
|
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
|
|
|
|
[dependencies]
|
|
backtrace = "0.3"
|
|
chrono = {version="0.4", features=["unstable-locales"]}
|
|
config = { path = "../config" }
|
|
dirs-next = "2.0"
|
|
lazy_static = "1.4"
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
env_logger = "0.10"
|
|
termwiz = { path = "../termwiz" }
|
|
battery = { path = "../lua-api-crates/battery" }
|
|
color-funcs = { path = "../lua-api-crates/color-funcs" }
|
|
termwiz-funcs = { path = "../lua-api-crates/termwiz-funcs" }
|
|
logging = { path = "../lua-api-crates/logging" }
|
|
mux-lua = { path = "../lua-api-crates/mux" }
|
|
procinfo-funcs = { path = "../lua-api-crates/procinfo-funcs" }
|
|
filesystem = { path = "../lua-api-crates/filesystem" }
|
|
json = { path = "../lua-api-crates/json" }
|
|
plugin = { path = "../lua-api-crates/plugin" }
|
|
share-data = { path = "../lua-api-crates/share-data" }
|
|
ssh-funcs = { path = "../lua-api-crates/ssh-funcs" }
|
|
spawn-funcs = { path = "../lua-api-crates/spawn-funcs" }
|
|
time-funcs = { path = "../lua-api-crates/time-funcs" }
|
|
wezterm-version = { path = "../wezterm-version" }
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
winapi = "0.3"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
cocoa = "0.20"
|
|
objc = "0.2"
|
|
|