mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 16:25:52 +03:00
[GH-ISSUE #178] Porting tokio-core to tokio #121
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#121
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?
Originally created by @dbischof90 on GitHub (Mar 2, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/178
Originally assigned to: @dbischof90 on GitHub.
As
tokio-coreis depreceated and both thefuturesand thetokiocrate are getting overhauled for version 0.2, there will be a necessity in the medium term to port the code totokio.This is not pressing but will be more important at one point.
@brain0 commented on GitHub (Mar 20, 2018):
It seems that the tokio API is not quite stable yet. It's probably best to wait until futures 0.2 is stable and a tokio version compatible to futures 0.2 is stable as well. Some things have changed drastically and this is likely a bigger task.
@ashthespy commented on GitHub (Jun 9, 2020):
@marcelbuesing @leshow
Moved here for the discussion. I've opened up a new project to track this, while we figure out the best way to tackle this?
My .2 cents - Core is turning out to be quite a nightmare, if we get core/mercury up and running, then it should be easier to start isolating the rest and writing simple test wrappers for them..
What do you all think?
@brain0 commented on GitHub (Jun 9, 2020):
The problem I see is that nobody really has the full overview of the librespot project (I personally have only touched a few areas). I would even prefer writing it (the library) in an executor-agnostic way, if that is even possible.
In any case, librespot should use std's futures and much of it could probably be rewritten using async.
@ashthespy commented on GitHub (Jun 9, 2020):
Pretty much in the same boat, but figuring out more as I refactor :-) We're quite deeply intertwined already with Tokio (as we use
hyperandlibmdns) so rewriting for use withasync-stdorsmolis going to be hard (at this stage)@sashahilton00 commented on GitHub (Feb 23, 2021):
No longer relevant - PR in progess. #606
@Siilwyn commented on GitHub (Feb 17, 2022):
For anybody trying this out I've found using
smol&async_compatto work with librespot. :)Trackmetadata #791