Procházet zdrojové kódy

cleanup and binary

Johann Woelper před 5 roky
rodič
revize
4ba606e18b
2 změnil soubory, kde provedl 0 přidání a 10 odebrání
  1. binární
      bin/guntrader.linux64
  2. 0 10
      src/main.rs

binární
bin/guntrader.linux64


+ 0 - 10
src/main.rs

@@ -9,7 +9,6 @@ extern crate rocket_contrib;
 extern crate lazy_static;
 extern crate serde_json;
 
-use chrono::{DateTime, Duration, Local, Utc};
 // use serde_json;
 use std::collections::HashMap;
 use std::fs::File;
@@ -22,16 +21,11 @@ use std::{thread, time};
 mod query;
 use query::*;
 mod server;
-use server::run;
 const DBFILE: &str = "accounts.json";
 
 
-
-
 lazy_static! {
-    // static ref ACCOUNTS: Mutex<HashMap<String, Account>> = Mutex::new(HashMap::new());
     static ref ACCOUNTS: Mutex<HashMap<String, Account>> = Mutex::new(HashMap::new());
-
 }
 
 
@@ -57,10 +51,6 @@ fn daemon() {
         println!(">>> Done.");
         let pause = time::Duration::from_secs(30);
         thread::sleep(pause);
-        // break;
-
-
-
 
     }
 }