automatic cargo CI changes

This commit is contained in:
Gitea CI 2024-01-16 17:29:38 +00:00
parent 441669a2c3
commit 15687ca0d7
2 changed files with 2 additions and 6 deletions

View File

@ -18,10 +18,7 @@ use libpt::{hedu::*, log::*};
use clap::Parser;
use clap_verbosity_flag::{InfoLevel, Verbosity};
use std::{
fs::File,
io::{Seek, IsTerminal},
};
use std::{fs::File, io::IsTerminal};
//// TYPES /////////////////////////////////////////////////////////////////////////////////////////

View File

@ -6,8 +6,8 @@
//! This crate is currently empty.
use anyhow::{bail, Result};
use libpt_log::{error, trace, warn, info};
use libpt_bintols::display::{bytes_to_bin, humanbytes};
use libpt_log::{error, info, trace, warn};
use std::io::{prelude::*, BufReader, Read, SeekFrom};
const BYTES_PER_LINE: usize = 16;
@ -41,7 +41,6 @@ impl DataSource for std::fs::File {
pub fn dump(data: &mut dyn DataSource, config: DumpConfig) -> Result<()> {
// skip a given number of bytes
if config.skip > 0 {
data.skip(config.skip)?;
info!("Skipped {}", humanbytes(config.skip));
}