From 5991905ae9fb519a3a43c599c5515ba39c04e5fb Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 4 Nov 2025 14:29:34 +0800 Subject: 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 --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Cargo.toml') 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"] } -- cgit