mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 10:19:27 +02:00
refactor: update dependencies and code for latest ecosystem changes
- Update many dependencies to latest versions across all crates - Switch from `once_cell::OnceCell` to `std::sync::OnceLock` where appropriate - Update OAuth to use stateful `reqwest` for HTTP requests - Fix Rodio backend to honor the requested sample format
This commit is contained in:
parent
1d5c0d8451
commit
ce1ab8ff3f
25 changed files with 1662 additions and 1205 deletions
|
@ -51,7 +51,7 @@ impl RequestHandler {
|
|||
Self {
|
||||
config,
|
||||
username: Mutex::new(None),
|
||||
keys: DhLocalKeys::random(&mut rand::thread_rng()),
|
||||
keys: DhLocalKeys::random(&mut rand::rng()),
|
||||
event_tx,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue