From b91144bbf2362be26ff7ce59910f2710a0c83a45 Mon Sep 17 00:00:00 2001 From: "Andrew Phillips (aider)" Date: Sat, 10 May 2025 11:50:16 -0300 Subject: [PATCH] fix: resolve missing and conflicting imports --- src/compression.rs | 2 +- src/main.rs | 1 + src/modes/save.rs | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) 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;