mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(router): include git commit hash and timestamp in --version output (#29)
This commit is contained in:
3
crates/router/src/build.rs
Normal file
3
crates/router/src/build.rs
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
router_env::vergen::generate_cargo_instructions();
|
||||
}
|
||||
@ -11,6 +11,7 @@ use crate::{
|
||||
};
|
||||
|
||||
#[derive(StructOpt, Default)]
|
||||
#[structopt(version = router_env::version!())]
|
||||
pub struct CmdLineConf {
|
||||
/// Config file.
|
||||
/// Application will look for "config/config.toml" if this option isn't specified.
|
||||
|
||||
Reference in New Issue
Block a user