mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #55] [MERGED] fix reqwest breaking change #210
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#210
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/ramsayleung/rspotify/pull/55
Author: @mainrs
Created: 9/30/2019
Status: ✅ Merged
Merged: 10/7/2019
Merged by: @ramsayleung
Base:
master← Head:fix_reqwest_version_break📝 Commits (1)
1671189fix reqwest breaking change📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
Cargo.toml(+1 -1)📄 Description
As of v0.9.18, the reqwest dependency behaves differently and actually
crashes on usage. This commit fixes the version to the latest working
one, v0.9.17.
I have no idea why this is happening. I checked the commits between v0.9.17 and v0.9.18 (here) and the only one that stood out was this one. The commit message and the error I got in #54 sound feasible together.
The library is used within Spotifyd. We had a lot of issues opened whose source ultimately was
rspotify. I could fix the errors we got by pinning down the version of reqwest in ourCargo.lockfile to v0.9.17.To prevent other people from stumbling across this problem, I opened this PR to pin the version down to v0.9.17 for now.
The error message I received got discussed here: https://github.com/seanmonstar/reqwest/issues/541. This comment draws attention to the problem that the patch version got updated with a breaking change. The issue creation date is 4 days after v0.9.18 released, so the comment is referring to that version tag.
There might be some larger refactoring needed for the long run.
reqwestdid huge changes to thee code on the master branch and even noted in the readme that the next release WILL break.Closes #54.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.