mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-06 03:50:06 +02:00
Update/dependencies (#1416)
* Update sysinfo to 0.33 * Update thiserror to v2.0 * Update Alpine Dockerfile to 1.75 (MSRV) * Update governor to 0.8 * Update quick-xml to 0.37 * Update rodio to 0.20.1 * Update zerocopy to 0.8.13 * Update alpine image to 3.19 --------- Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
parent
00679fc78d
commit
2a6d7545ca
15 changed files with 146 additions and 96 deletions
|
@ -390,7 +390,7 @@ impl Session {
|
|||
}
|
||||
|
||||
pub fn set_session_id(&self, session_id: String) {
|
||||
self.0.data.write().session_id = session_id.to_owned();
|
||||
session_id.clone_into(&mut self.0.data.write().session_id);
|
||||
}
|
||||
|
||||
pub fn device_id(&self) -> &str {
|
||||
|
@ -450,7 +450,7 @@ impl Session {
|
|||
}
|
||||
|
||||
pub fn set_auth_data(&self, auth_data: &[u8]) {
|
||||
self.0.data.write().auth_data = auth_data.to_owned();
|
||||
auth_data.clone_into(&mut self.0.data.write().auth_data);
|
||||
}
|
||||
|
||||
pub fn country(&self) -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue