Explorar el Código

cleanup and binary

Johann Woelper hace 5 años
padre
commit
4ba606e18b
Se han modificado 2 ficheros con 0 adiciones y 10 borrados
  1. BIN
      bin/guntrader.linux64
  2. 0 10
      src/main.rs

BIN
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;
-
-
-
 
     }
 }