diff --git a/src/compression.rs b/src/compression.rs index 64e8325..7c0a24c 100755 --- a/src/compression.rs +++ b/src/compression.rs @@ -1,5 +1,5 @@ use anyhow::{anyhow, Context, Result}; -use std::io; +use std::io::{self, Read}; use std::io::{Read, Write}; use std::path::PathBuf; use std::process::{Command, Stdio}; diff --git a/src/main.rs b/src/main.rs index fd53272..08bb460 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,6 +26,7 @@ use prettytable::row; use prettytable::{Attr, Cell, Row, Table}; use std::str::FromStr; +use std::io::BufWriter; use chrono::prelude::*; #[macro_use] diff --git a/src/modes/save.rs b/src/modes/save.rs index 3224d44..a8c5d09 100644 --- a/src/modes/save.rs +++ b/src/modes/save.rs @@ -1,6 +1,7 @@ use anyhow::{anyhow, Context, Result}; use std::collections::HashMap; -use std::io; +use std::io::{self, Read}; +use is_terminal::IsTerminal; use std::path::PathBuf; use std::str::FromStr;