traits: Move SeekStreamLen to lofty::util::io

This commit is contained in:
Serial 2024-04-14 12:51:01 -04:00 committed by Alex
parent 95e389d703
commit bfae8baf7a
6 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
use crate::error::Result;
use crate::macros::decode_err;
use crate::traits::SeekStreamLen;
use crate::util::io::SeekStreamLen;
use std::io::{Read, Seek, SeekFrom};
use std::ops::Neg;

View file

@ -159,7 +159,6 @@ mod probe;
pub mod properties;
pub mod resolve;
pub mod tag;
mod traits;
mod util;
pub mod aac;

View file

@ -5,7 +5,7 @@ use super::Mp4File;
use crate::config::{ParseOptions, ParsingMode};
use crate::error::{ErrorKind, LoftyError, Result};
use crate::macros::{decode_err, err};
use crate::traits::SeekStreamLen;
use crate::util::io::SeekStreamLen;
use crate::util::text::utf8_decode_str;
use std::io::{Read, Seek, SeekFrom};

View file

@ -6,7 +6,7 @@ use crate::config::ParseOptions;
use crate::error::Result;
use crate::id3::v2::read::parse_id3v2;
use crate::id3::{find_id3v1, find_id3v2, find_lyrics3v2, FindId3v2Config, ID3FindResults};
use crate::traits::SeekStreamLen;
use crate::util::io::SeekStreamLen;
use std::io::{Read, Seek, SeekFrom};

View file

@ -1,3 +1,4 @@
pub(crate) mod alloc;
pub(crate) mod io;
pub(crate) mod math;
pub(crate) mod text;