mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +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.
13 lines
279 B
TOML
13 lines
279 B
TOML
[package]
|
|
name = "wezterm-version"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[build-dependencies]
|
|
git2 = { version = "0.16", default-features = false }
|
|
|
|
[dependencies]
|