diff --git a/Cargo.toml b/Cargo.toml index cc5d8f2..c74dabe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,9 +25,9 @@ ureq = "2.4.0" configparser = "3.0.0" if_chain = "1.0.2" num_cpus = "1.13.0" -which = { "7.0.2", optional = true } -rcue = { "0.1.3", optional = true } -hhmmss = { "0.1.0", optional = true } +which = { version = "7.0.2", optional = true } +rcue = { version = "0.1.3", optional = true } +hhmmss = { version = "0.1.0", optional = true } [features] default = ["libav"] diff --git a/src/cue.rs b/src/cue.rs index 8b2773f..c5162e1 100644 --- a/src/cue.rs +++ b/src/cue.rs @@ -6,6 +6,7 @@ * **/ + #[cfg(feature = "ffmpeg")] extern crate rcue; #[cfg(feature = "ffmpeg")] diff --git a/src/db.rs b/src/db.rs index a0934bc..d7ee80c 100644 --- a/src/db.rs +++ b/src/db.rs @@ -286,6 +286,7 @@ impl Db { let track_path = mpath.join(&dbtags.file); if track_path.exists() { let path = String::from(track_path.to_string_lossy()); + #[allow(unused_mut)] // ftags is mutable if using ffmpeg on commandline let mut ftags = tags::read(&path, false); #[cfg(feature = "ffmpeg")]