mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1092] [MERGED] Update protobuf and related crates to 3.x #1230
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#1230
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/1092
Author: @tyrylu
Created: 1/7/2023
Status: ✅ Merged
Merged: 1/17/2023
Merged by: @roderickvd
Base:
dev← Head:update_protobuf📝 Commits (3)
4f6d9daUpdate protobuf and related crates to 3.xf3df117Get rit of unwraps659559dRun rustmft📊 Changes
38 files changed (+689 additions, -667 deletions)
View changed files
📝
Cargo.lock(+64 -21)📝
connect/Cargo.toml(+1 -1)📝
connect/src/spirc.rs(+172 -244)📝
core/Cargo.toml(+1 -1)📝
core/src/authentication.rs(+3 -3)📝
core/src/cdn_url.rs(+7 -4)📝
core/src/connection/handshake.rs(+42 -26)📝
core/src/connection/mod.rs(+19 -11)📝
core/src/date.rs(+5 -13)📝
core/src/error.rs(+1 -1)📝
core/src/file_id.rs(+3 -3)📝
core/src/mercury/mod.rs(+2 -2)📝
core/src/spclient.rs(+47 -44)📝
core/src/spotify_id.rs(+12 -12)📝
metadata/Cargo.toml(+1 -1)📝
metadata/src/album.rs(+24 -24)📝
metadata/src/artist.rs(+36 -31)📝
metadata/src/audio/file.rs(+4 -4)📝
metadata/src/availability.rs(+3 -3)📝
metadata/src/content_rating.rs(+2 -2)...and 18 more files
📄 Description
This PR updates protobuf to 3.x.
To do that, it also replaces protobuf-codegen-pure 2.x with protobuf-codegen 3.x, which has the same capabilities. This version of the generated protocol API has a slightly different API, so the PR looks larger than it actually is.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.