From e9667382958985e7f085d8275a8d76687127c5ad Mon Sep 17 00:00:00 2001 From: JesusPerez Date: Wed, 8 Sep 2021 19:28:48 +0100 Subject: [PATCH] chore: change Info --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 50aa129..5775ad9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -43,6 +43,7 @@ const PKG_VERSION: &'static str = env!("CARGO_PKG_VERSION"); // const PKG_VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION"); const PKG_NAME: &'static str = env!("CARGO_PKG_NAME"); const PKG_AUTHORS: &'static str = env!("CARGO_PKG_AUTHORS"); +const PKG_DESCRIPTION: &'static str = env!("CARGO_PKG_DESCRIPTION"); pub mod defs; pub mod graphql; @@ -66,7 +67,8 @@ async fn up_web_server(webpos: usize) -> Result<()> { "ZTerton", format!("web: {}",&webpos), format!("version: {}",PKG_VERSION), - format!("Authors: {}",PKG_AUTHORS), + format!("authors: {}",PKG_AUTHORS), + format!("{}",PKG_DESCRIPTION), ); zterton::init_app(&mut app_env,"").await.unwrap_or_else(|e| panic!("Error loadding app environment {}",e)