Expose version info in CLI tool with build-time obtained git hash (#787)

* version info with built-time obtained git hash

* clippy

* rerun-if-changed properly and handle git command failing

* cargo fmt
This commit is contained in:
James Wilson
2023-01-17 17:29:12 +00:00
committed by GitHub
parent c9f414f4ed
commit 08d6640a6c
5 changed files with 55 additions and 1 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ subxt-codegen = { version = "0.25.0", path = "../codegen" }
# perform node compatibility
subxt-metadata = { version = "0.25.0", path = "../metadata" }
# parse command line args
clap = { version = "4.0.8", features = ["derive"] }
clap = { version = "4.0.8", features = ["derive", "cargo"] }
# colourful error reports
color-eyre = "0.6.1"
# serialize the metadata