Show Git SHA information when printing version information (#120)

This commit is contained in:
Ulyssa 2023-06-14 20:28:01 -07:00
parent a020b860dd
commit 2a573b6056
No known key found for this signature in database
GPG key ID: 1B3965A3D18B9B64
5 changed files with 38 additions and 2 deletions

18
Cargo.lock generated
View file

@ -1529,6 +1529,7 @@ dependencies = [
"unicode-segmentation",
"unicode-width",
"url",
"vergen",
]
[[package]]
@ -3135,6 +3136,12 @@ dependencies = [
"base64 0.21.0",
]
[[package]]
name = "rustversion"
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06"
[[package]]
name = "ryu"
version = "1.0.13"
@ -3974,6 +3981,17 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
[[package]]
name = "vergen"
version = "8.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b3c89c2c7e50f33e4d35527e5bf9c11d6d132226dbbd1753f0fbe9f19ef88c6"
dependencies = [
"anyhow",
"rustversion",
"time 0.3.20",
]
[[package]]
name = "version_check"
version = "0.9.4"