feat: changed version number log to read version from cargo metadata
Build and Deploy / build-docker (push) Successful in 52s Details

This commit is contained in:
antifallobst 2023-10-13 01:16:08 +02:00
parent 5b846c1006
commit 31b3e97676
Signed by: antifallobst
GPG Key ID: 2B4F402172791BAF
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ use sqlx::postgres::PgPool;
async fn main() -> Result<()> { async fn main() -> Result<()> {
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info")).init(); env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info")).init();
info!("Starting NerdcultAPI v0.1"); info!("Starting Nerdcult API v{}", env!("CARGO_PKG_VERSION"));
let port: u16 = 8080; let port: u16 = 8080;