Show and Log Version

This commit is contained in:
spikecodes 2020-12-05 21:29:25 -08:00
parent 04310c58e0
commit 6794f7d6ba
3 changed files with 7 additions and 2 deletions

View file

@ -40,7 +40,7 @@ async fn main() -> std::io::Result<()> {
}
// start http server
println!("Running Libreddit on {}!", address.clone());
println!("Running Libreddit v{} on {}!", env!("CARGO_PKG_VERSION"), address.clone());
HttpServer::new(|| {
App::new()