Force git version to be up to date via decl macro

This commit is contained in:
Kirill Bulatov
2022-05-13 16:34:32 +03:00
committed by Kirill Bulatov
parent 0030da57a8
commit 51c0f9ab2b
13 changed files with 43 additions and 20 deletions
+4 -2
View File
@@ -25,7 +25,9 @@ use config::ProxyConfig;
use futures::FutureExt;
use std::{future::Future, net::SocketAddr};
use tokio::{net::TcpListener, task::JoinError};
use utils::GIT_VERSION;
use utils::project_git_version;
project_git_version!();
/// Flattens `Result<Result<T>>` into `Result<T>`.
async fn flatten_err(
@@ -124,7 +126,7 @@ async fn main() -> anyhow::Result<()> {
auth_link_uri: arg_matches.value_of("uri").unwrap().parse()?,
}));
println!("Version: {}", GIT_VERSION);
println!("Version: {GIT_VERSION}");
// Check that we can bind to address before further initialization
println!("Starting http on {}", http_address);