diff options
Diffstat (limited to '')
-rw-r--r-- | src/config/file_system.rs | 2 | ||||
-rw-r--r-- | src/storage/video_database/setters.rs | 5 | ||||
-rw-r--r-- | src/update/mod.rs | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/config/file_system.rs b/src/config/file_system.rs index 8528130..b89c1fe 100644 --- a/src/config/file_system.rs +++ b/src/config/file_system.rs @@ -18,8 +18,8 @@ use super::{ use std::{fs::read_to_string, path::PathBuf}; use anyhow::{Context, Result}; -use toml::Table; use bytes::Bytes; +use toml::Table; macro_rules! get { ($default:path, $config:expr, $get_fn:ident, $key_one:expr, $($keys:expr),*) => { diff --git a/src/storage/video_database/setters.rs b/src/storage/video_database/setters.rs index 76a36a7..fcafcd4 100644 --- a/src/storage/video_database/setters.rs +++ b/src/storage/video_database/setters.rs @@ -16,10 +16,7 @@ use log::debug; use sqlx::query; use tokio::fs; -use crate::{ - app::App, - storage::video_database::extractor_hash::ExtractorHash, -}; +use crate::{app::App, storage::video_database::extractor_hash::ExtractorHash}; use super::{Video, VideoOptions, VideoStatus}; diff --git a/src/update/mod.rs b/src/update/mod.rs index c913195..0e47321 100644 --- a/src/update/mod.rs +++ b/src/update/mod.rs @@ -12,7 +12,7 @@ use std::{collections::HashMap, process::Stdio, str::FromStr}; use anyhow::{Context, Ok, Result}; use chrono::{DateTime, Utc}; -use log::{debug, error, info, warn}; +use log::{error, info, warn}; use tokio::{ io::{AsyncBufReadExt, BufReader}, process::Command, |