Add macro to get rustc version. (#62)

Add macro to query git-describe. (#62)

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-06-13 01:27:28 +00:00
1 parent 5799059196
commit b0b441d534
4 files changed
+109

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ use std::sync::OnceLock;
static BRANDING: &str = "Tuwunel";
static SEMANTIC: &str = env!("CARGO_PKG_VERSION");
tuwunel_macros::git_describe!();
static VERSION: OnceLock<String> = OnceLock::new();
static USER_AGENT: OnceLock<String> = OnceLock::new();