Skip to content

Commit

Permalink
Get rid of glob imports
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Apr 22, 2024
1 parent 0effbe8 commit 8595237
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/plugins/cover.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use std::path::PathBuf;
use std::str::FromStr;

use base64::prelude::*;
use base64::prelude::{Engine as _, BASE64_STANDARD};
use lofty::file::TaggedFileExt;
use lofty::picture::{MimeType, PictureType};
use lofty::prelude::*;
use tauri::plugin::{Builder, TauriPlugin};
use tauri::Runtime;

Expand Down
6 changes: 3 additions & 3 deletions src-tauri/src/plugins/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ use bonsaidb::local::config::{Builder as BonsaiBuilder, StorageConfiguration};
use bonsaidb::local::AsyncDatabase;
use bonsaidb::local::AsyncStorage;
use itertools::Itertools;
use lofty::prelude::*;
use lofty::tag::ItemKey;
use lofty::file::{AudioFile, TaggedFileExt};
use lofty::tag::{Accessor, ItemKey};
use log::{error, info, warn};
use rayon::prelude::*;
use rayon::iter::{IntoParallelRefIterator, ParallelIterator};
use serde::{Deserialize, Serialize};
use std::collections::HashSet;
use std::path::PathBuf;
Expand Down

0 comments on commit 8595237

Please sign in to comment.