diff --git a/terraps/src/game/shop.rs b/terraps/src/game/shop.rs index 80f8354..7cb8869 100644 --- a/terraps/src/game/shop.rs +++ b/terraps/src/game/shop.rs @@ -14,4 +14,4 @@ pub async fn pay_get_unconfirmed_order_id_list() -> JSON { } // FOR LATER USE -pub async fn _template_shop() {} +pub async fn __template_shop() {} diff --git a/terraps/src/main.rs b/terraps/src/main.rs index 45e7f45..1a0ff2c 100644 --- a/terraps/src/main.rs +++ b/terraps/src/main.rs @@ -7,6 +7,7 @@ mod utils; use anyhow::Result; use routes::app; +use tracing_log::log::info; use utils::{ server::{get_server_address, Server}, upgrade, @@ -14,7 +15,9 @@ use utils::{ #[tokio::main] async fn main() -> Result<()> { + let version = env!("CARGO_PKG_VERSION"); upgrade().await?; + info!("TerraPS v{} is starting...", version); let (server_address, server_port) = get_server_address(); let server = Server::new(server_address, server_port); server.serve(app()).await