@ -1,6 +1,8 @@
use std::process::{Command, ExitStatus};
use colored::Colorize;
use log::info;
use serde_derive::Deserialize;
use crate::result::Result;
@ -4,7 +4,9 @@ use std::io::Read;
use std::path::PathBuf;
use log::error;
use mio::{Poll, PollOpt, Ready};
use crate::app::App;
use crate::proc::Proc;
@ -1,18 +1,3 @@
extern crate chrono;
extern crate colored;
extern crate dirs;
extern crate fern;
extern crate getopts;
#[macro_use]
extern crate log;
extern crate mio;
extern crate mio_child_process;
extern crate serde;
extern crate serde_derive;
extern crate signal_hook;
extern crate toml;
mod app;
mod apps;
mod config;
@ -23,6 +8,8 @@ mod run;
use log::{info, error};
use apps::Apps;
use config::Config;
use proc::Proc;
@ -2,6 +2,7 @@ use std::convert::TryInto;
use std::process::{Command, Stdio};
use mio::Token;
use mio_child_process::{CommandAsync, Process};
@ -2,6 +2,7 @@ use std::boxed::Box;
use std::sync::mpsc::TryRecvError;
use mio::{Events, Poll, PollOpt, Ready, Token};
use mio_child_process::{ProcessEvent, StdioChannel};