chore: update dependencies

This commit is contained in:
Mark
2025-08-23 11:32:01 +02:00
parent bf100f38e3
commit c23d487a02
12 changed files with 39 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
use std::{fmt::Display, rc::Rc, sync::Arc};
use std::{fmt::Display, sync::Arc};
use musicdb_lib::data::CoverId;
use speedy2d::{
@@ -30,7 +30,7 @@ pub struct Content {
text: String,
color: Color,
background: Option<Color>,
formatted: Option<Rc<FormattedTextBlock>>,
formatted: Option<FormattedTextBlock>,
}
#[allow(unused)]

View File

@@ -1,4 +1,5 @@
// #![allow(unused)]
#![allow(dead_code)]
#![allow(unused_variables)]
use std::{
io::{BufReader, Write},
@@ -146,7 +147,6 @@ fn main() {
| Mode::GuiSyncplayerNetwork
);
#[cfg(feature = "playback")]
#[allow(unused)]
let mut cache_manager = None;
#[cfg(feature = "playback")]
let mut player = if is_syncplayer {
@@ -160,6 +160,12 @@ fn main() {
} else {
None
};
// prevent unused assignment warning, we might
// need cache manager at some point -_-
#[cfg(feature = "playback")]
if false {
drop(cache_manager);
}
#[allow(unused_labels)]
'ifstatementworkaround: {
// use if+break instead of if-else because we can't #[cfg(feature)] the if statement,