-
Having
in the struct definition allows the user to pass the
|
Beta Was this translation helpful? Give feedback.
Answered by
epage
Feb 9, 2024
Replies: 1 comment 1 reply
-
Libraries like https://crates.io/crates/shadow-rs or https://crates.io/crates/vergen can be used to get the information you need. If you generate the string at runtime, you'll need to run |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
szabgab
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Libraries like https://crates.io/crates/shadow-rs or https://crates.io/crates/vergen can be used to get the information you need. If you generate the string at runtime, you'll need to run
cargo add clap -F string