forked from jmug/stoatchat
Move versioning to source.
This commit is contained in:
@@ -15,6 +15,7 @@ extern crate ctrlc;
|
||||
|
||||
pub mod database;
|
||||
pub mod notifications;
|
||||
pub mod version;
|
||||
pub mod routes;
|
||||
pub mod util;
|
||||
|
||||
@@ -39,7 +40,7 @@ async fn main() {
|
||||
dotenv::dotenv().ok();
|
||||
env_logger::init_from_env(env_logger::Env::default().filter_or("RUST_LOG", "info"));
|
||||
|
||||
info!("Starting REVOLT server.");
|
||||
info!("Starting REVOLT server [version {}].", crate::version::VERSION);
|
||||
|
||||
util::variables::preflight_checks();
|
||||
database::connect().await;
|
||||
|
||||
Reference in New Issue
Block a user