Set Server Version to 1.0; Show Version on Startup

This commit is contained in:
CodeSteak 2019-06-12 13:23:47 +02:00
parent 35f8145112
commit c2d01760c7
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "texture-sync-server"
version = "0.1.0"
version = "1.0.0"
authors = ["CodeSteak <codesteak@shellf.art>"]
edition = "2018"

View File

@ -24,6 +24,8 @@ use std::path::*;
fn main() -> std::io::Result<()> {
lovecraft::invoke();
println!("\n\n\t=== TextureSync Server {} ===\t\n\n\n", env!("CARGO_PKG_VERSION"));
let data_path = Path::new("./data");
println!("loading files from {:?}", data_path);
let server_state = ServerState::new(data_path)?;