mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-29 23:07:21 +00:00
Force git version to be up to date via decl macro
This commit is contained in:
committed by
Kirill Bulatov
parent
0030da57a8
commit
51c0f9ab2b
+4
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user