mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #581] [MERGED] Tokio migration #979
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#979
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/581
Author: @ashthespy
Created: 1/25/2021
Status: ✅ Merged
Merged: 1/26/2021
Merged by: @ashthespy
Base:
tokio_migration← Head:tokio_migration📝 Commits (10+)
6f5607d[Core] Bump hyper to ~0.12931c820[Connect] Migrate to hyper ~v12962d7afClean up hyper from binary9bbf8c3WIP tokio-core -> tokio migration53b4ab0Migrate totokio0.1c69ccf7[Connect] Migrate totokio0.147a1575WIP Futures94fc0a1[Core/connection] Refactor to async/awaitc273d51[AudioKeyManager] Convert to async20dd94fFix tokio dependency in main📊 Changes
36 files changed (+2509 additions, -3740 deletions)
View changed files
📝
Cargo.lock(+1366 -1788)📝
Cargo.toml(+13 -27)📝
audio/Cargo.toml(+6 -5)📝
audio/src/decrypt.rs(+2 -2)📝
audio/src/fetch.rs(+407 -366)📝
audio/src/lib.rs(+6 -3)📝
audio/src/range_set.rs(+8 -12)📝
connect/Cargo.toml(+3 -2)📝
connect/src/discovery.rs(+39 -31)📝
connect/src/lib.rs(+1 -1)📝
core/Cargo.toml(+15 -14)📝
core/src/apresolve.rs(+47 -79)📝
core/src/audio_key.rs(+3 -19)📝
core/src/authentication.rs(+4 -6)📝
core/src/channel.rs(+53 -38)📝
core/src/component.rs(+0 -26)📝
core/src/connection/codec.rs(+3 -4)📝
core/src/connection/handshake.rs(+50 -123)📝
core/src/connection/mod.rs(+50 -72)📝
core/src/diffie_hellman.rs(+6 -6)...and 16 more files
📄 Description
I rebased the old PR (https://github.com/librespot-org/librespot/pull/487) and merged work from https://github.com/librespot-org/librespot/pull/574 into the current tree..
This should fix all the conflicts in both the above PRs, so that progress can be made..
Big thanks to @Johannesd3 for the significant progress and the porting over to tokio 1.0! :-)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.