Crate zkstack_cli_git_version_macro

Source

Macrosยง

build_git_branch
Outputs the current git branch as a string literal.
build_git_revision
Outputs the current git commit hash as a string literal.
build_git_submodules
Creates a slice of &[(&str, &str)] tuples that correspond to the submodule name -> revision. Results in an empty list if there are no submodules or if the command fails.
build_timestamp
Outputs the current date and time as a string literal. Can be used to include the build timestamp in the binary.