extern crate askama;
use std::{ sync::Mutex, env::args, fs::File, io::prelude::* };
-
use actix_files as fs;
use actix_web::{ get, web, Responder, middleware, App, HttpServer };
use askama::Template;
use cached::proc_macro::cached;
mod consts;
-mod tests;
mod minecraft_controller;
#[derive(Template)]
uptime: value_unknown.clone(),
world_size: value_unknown.clone(),
active_players: value_unknown.clone(),
- last_backup: value_unknown.clone() }
+ last_backup: value_unknown.clone()
+ }
}
}
}
-use sysinfo::{ ProcessExt, SystemExt };\r
-\r
use std::{ fs, time::SystemTime };\r
-\r
+use sysinfo::{ ProcessExt, SystemExt };\r
use chrono::{ DateTime, offset::Local };\r
\r
#[derive(Clone, Debug)]\r
+++ /dev/null
-//use minecraft_controller::*;\r
-\r
-#[test]\r
-fn test1() {\r
- assert_eq!(2, 1 + 1);\r
-}
\ No newline at end of file