diff options
author | Griffin Smith <root@gws.fyi> | 2019-08-03T17·14-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-08-04T00·31-0400 |
commit | 82cefedab9e44b48f4d3cc08b0f6e002ae383c9d (patch) | |
tree | adc553136987cdbd69caf9e1aa362d1974c57afd /src/main.rs | |
parent | 929dac06d0a2df78bbeac5a80c994a38901e5f67 (diff) |
Fix a bunch more Clippy lints, but disable in Circle
The unused error is causing more trouble than it's worth at this point
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs index 2cd0bbc08d05..8004a5739ef5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,13 +1,7 @@ -extern crate termion; #[macro_use] extern crate log; -extern crate config; -extern crate log4rs; -extern crate serde; -extern crate toml; #[macro_use] extern crate serde_derive; -extern crate serde_json; #[macro_use] extern crate clap; #[macro_use] @@ -19,14 +13,13 @@ extern crate lazy_static; extern crate maplit; #[macro_use] extern crate downcast_rs; -extern crate backtrace; #[macro_use] extern crate include_dir; #[macro_use] extern crate nom; +#[cfg(test)] #[macro_use] extern crate matches; -extern crate futures; #[macro_use] mod util; @@ -53,6 +46,7 @@ use backtrace::Backtrace; use std::io::{self, StdinLock, StdoutLock}; use std::panic; +use termion; use termion::raw::IntoRawMode; use termion::raw::RawTerminal; |