extern crate rand;
extern crate uuid;
extern crate tungstenite;
extern crate env_logger;
extern crate bcrypt;

extern crate dotenv;
// extern crate petgraph;
extern crate postgres;
extern crate r2d2;
extern crate r2d2_postgres;

extern crate serde;
extern crate serde_cbor;
#[macro_use]
extern crate serde_derive;

#[macro_use] extern crate failure;
// #[macro_use] extern crate failure_derive;

mod cryp;
mod game;
mod net;
mod skill;
mod spec;
// mod passives;
mod rpc;
mod account;
mod instance;
mod player;
// mod zone;
mod mob;
mod util;
mod vbox;

use dotenv::dotenv;
use net::{start};

fn main() {
    dotenv().ok();
    start()
}
