summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-04 14:29:34 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-04 14:29:34 +0800
commit5991905ae9fb519a3a43c599c5515ba39c04e5fb (patch)
tree3d9dcb37a30c9a17070c30c7964afec32a09435b /Cargo.toml
parent57320aa7832d88c8e60fa0423df31cf71361ff58 (diff)
Add compile-time version and build information
- Add build script to generate compile_info.rs with build metadata - Include version, build date, target platform, and toolchain info - Add version command to both jv and jvv binaries - Update help documentation with version information - Ignore generated compile_info.rs in git
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5cfe640..18f8686 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,6 +27,10 @@ lto = "fat"
panic = "abort"
strip = "symbols"
+[build-dependencies]
+chrono = "0.4"
+toml = "0.9"
+
[dependencies]
# Just Enough VCS
just_enough_vcs = { path = "../VersionControl", features = ["all"] }