Add command-line option for printing version and commit info

This commit is contained in:
Joakim Frostegård 2022-03-24 16:17:17 +01:00
parent bdc719b755
commit f5b1cd5525
14 changed files with 79 additions and 5 deletions

30
Cargo.lock generated
View file

@ -60,6 +60,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"aquatic_toml_config",
"git-testament",
"log",
"serde",
"simple_logger",
@ -962,6 +963,29 @@ version = "0.26.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4"
[[package]]
name = "git-testament"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "080c47ef3c243fb13474429c14dce386021cd64de731c353998a745c2fa2435b"
dependencies = [
"git-testament-derive",
"no-std-compat",
]
[[package]]
name = "git-testament-derive"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0803898541a48d6f0809fa681bc8d38603f727d191f179631d85ddc3b6a9a2c"
dependencies = [
"log",
"proc-macro2",
"quote",
"syn",
"time",
]
[[package]]
name = "glommio"
version = "0.7.0"
@ -1338,6 +1362,12 @@ dependencies = [
"memoffset 0.6.5",
]
[[package]]
name = "no-std-compat"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c"
[[package]]
name = "nodrop"
version = "0.1.14"