Docs.rs
zkstack_cli_git_version_macro-0.1.2
zkstack_cli_git_version_macro 0.1.2
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
ml-ia
CratesMatterLabs
Dependencies
chrono ^0.4.38
normal
Versions
80%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
zkstack_
cli_
git_
version_
macro
0.1.2
All Items
Crate Items
Macros
Crate
zkstack_cli_git_version_macro
Copy item path
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.