Skip to content

Commit 9737c84

Browse files
committed
benches: Update for module refactor
1 parent 0b2d82b commit 9737c84

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

benches/create_tag.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
use lofty::ape::ApeTag;
2+
use lofty::config::WriteOptions;
23
use lofty::id3::v1::Id3v1Tag;
34
use lofty::id3::v2::Id3v2Tag;
45
use lofty::iff::aiff::AIFFTextChunks;
56
use lofty::iff::wav::RIFFInfoList;
67
use lofty::mp4::Ilst;
78
use lofty::ogg::VorbisComments;
8-
use lofty::{Accessor, MimeType, Picture, PictureType, TagExt, WriteOptions};
9+
use lofty::picture::{MimeType, Picture, PictureType};
10+
use lofty::tag::{Accessor, TagExt};
911

1012
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
1113

@@ -36,7 +38,7 @@ bench_tag_write!([
3638
(aiff_text_chunks, AIFFTextChunks, |tag| {}),
3739
(apev2, ApeTag, |tag| {
3840
use lofty::ape::ApeItem;
39-
use lofty::ItemValue;
41+
use lofty::tag::ItemValue;
4042

4143
let picture = Picture::new_unchecked(
4244
PictureType::CoverFront,

benches/read_file.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
use lofty::{ParseOptions, Probe};
1+
use lofty::config::ParseOptions;
2+
use lofty::probe::Probe;
23

34
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
45

0 commit comments

Comments
 (0)