mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #9] [MERGED] Update dependencies and fix the use of deprecated functionality #777
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#777
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/9
Author: @brain0
Created: 1/21/2018
Status: ✅ Merged
Merged: 1/26/2018
Merged by: @ComlOnline
Base:
master← Head:fix_deprecated📝 Commits (8)
a1a3a2ecore: Remove an unneeded use warning6443552Use futures::sync::oneshot::Sender::send() instead of the deprecated complete()0bdf9aaUpdate all dependencies5237203Remove usage of deprecated BoxFuture, BoxStream and BoxSink630de8cUse futures::sync::mpsc::UnboundedSender::unbounded_send() instead of the deprecated send()d36017dRemove usage of deprecated tokio_core::io2465b0fRefactor the discovery module to remove usage of deprecated functions6b8a21dIncrease required Rust version to 1.18.0.📊 Changes
23 files changed (+462 additions, -432 deletions)
View changed files
📝
.travis.yml(+2 -4)📝
Cargo.lock(+311 -273)📝
Cargo.toml(+1 -0)📝
README.md(+1 -1)📝
audio/src/fetch.rs(+1 -1)📝
core/Cargo.toml(+2 -0)📝
core/build.rs(+3 -1)📝
core/src/audio_key.rs(+5 -5)📝
core/src/channel.rs(+14 -14)📝
core/src/connection/codec.rs(+21 -14)📝
core/src/connection/handshake.rs(+11 -9)📝
core/src/connection/mod.rs(+7 -7)📝
core/src/lib.rs(+2 -3)📝
core/src/mercury/mod.rs(+16 -16)📝
core/src/session.rs(+10 -10)📝
core/src/util/spotify_id.rs(+2 -0)📝
metadata/src/lib.rs(+4 -4)📝
src/discovery.rs(+23 -37)📝
src/keymaster.rs(+4 -4)📝
src/lib.rs(+0 -3)...and 3 more files
📄 Description
librespot uses outdated versions of futures and tokio. It also uses deprecated functionality from those crates. This patch series modernizes the code base and removes all use of deprecated functions and types.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.