mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 17:59:24 +02:00
refactor: update to Rust 1.85 and edition 2024, use inline log args
- Update MSRV to 1.85 and Rust edition to 2024. - Refactor all logging macros to use inline argument formatting. - Fix import order in main.rs and examples. - Add async environment variable setter to main.rs as safe facade.
This commit is contained in:
parent
0aec38b07a
commit
6288e7e03c
30 changed files with 419 additions and 448 deletions
|
@ -70,11 +70,7 @@ impl AudioKeyManager {
|
|||
.map_err(|_| AudioKeyError::Channel)?
|
||||
}
|
||||
_ => {
|
||||
trace!(
|
||||
"Did not expect {:?} AES key packet with data {:#?}",
|
||||
cmd,
|
||||
data
|
||||
);
|
||||
trace!("Did not expect {cmd:?} AES key packet with data {data:#?}");
|
||||
return Err(AudioKeyError::Packet(cmd as u8).into());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue