2019-12-28 21:43:13 -06:00
|
|
|
// external crates getting imported
|
|
|
|
extern crate ureq;
|
|
|
|
extern crate serde;
|
|
|
|
extern crate serde_derive;
|
|
|
|
extern crate serde_json;
|
|
|
|
extern crate xml;
|
|
|
|
|
|
|
|
// standard library stuff
|
|
|
|
use std::fs::File;
|
|
|
|
use std::io::{BufReader, Read};
|
|
|
|
|
|
|
|
// actual third party library being imported
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
use serde_json::Result;
|
|
|
|
use xml::reader::{EventReader, XmlEvent};
|
|
|
|
|
|
|
|
// local files that need to be imported
|
|
|
|
mod app;
|
|
|
|
mod config;
|
|
|
|
mod generate;
|
|
|
|
|
2019-12-26 21:32:42 -06:00
|
|
|
fn main() {
|
2019-12-28 21:43:13 -06:00
|
|
|
let configuration = config::init_config();
|
|
|
|
println!("{:?}", configuration.ipaddr);
|
2019-12-26 21:32:42 -06:00
|
|
|
}
|