diff --git a/src/args.rs b/src/args.rs index 9dbb57d..46f10c7 100644 --- a/src/args.rs +++ b/src/args.rs @@ -1,11 +1,11 @@ -use clap::{crate_version, App, Arg}; + use failure::Fallible; use log::*; use serde::{Deserialize, Serialize}; -use std::ffi::OsStr; + use std::ffi::OsString; use std::iter::IntoIterator; -use std::process::Command; + use structopt::StructOpt; fn is_default(t: &T) -> bool { t == &T::default() diff --git a/src/bin/rga-preproc.rs b/src/bin/rga-preproc.rs index a06eb01..38448ce 100644 --- a/src/bin/rga-preproc.rs +++ b/src/bin/rga-preproc.rs @@ -1,10 +1,10 @@ -use clap::{crate_version, App, Arg}; -use failure::{format_err, Error, Fallible}; -use log::*; + +use failure::{format_err, Fallible}; + use rga::adapters::*; use rga::preproc::*; -use std::env; + use std::fs::File; use std::io::BufReader; fn main() -> Fallible<()> { diff --git a/src/bin/rga.rs b/src/bin/rga.rs index 81c102b..d006970 100644 --- a/src/bin/rga.rs +++ b/src/bin/rga.rs @@ -1,10 +1,10 @@ -use clap::{crate_version, App, Arg}; + use failure::Fallible; use log::*; use rga::adapters::spawning::map_exe_error; use rga::adapters::*; use rga::args::*; -use serde::{Deserialize, Serialize}; + use std::ffi::OsString; use std::process::Command; use structopt::StructOpt;