mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #255] [CLOSED] Fix refreshing token #345
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#345
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/255
Author: @marioortizmanero
Created: 9/25/2021
Status: ❌ Closed
Base:
ramsay_support_refresh_token← Head:fix-refresh-token📝 Commits (10+)
f887e93Use Github Action to automatically publish crate to crate.ioc2046c7Add UnknownId and some testsd5d2812Proper docs thanks to reworked macro5a52393Module-level documentation1ab8ad1Now with an example!3b66b9aStuck fighting compiler error about Deserialize5d459f4First draft with newtypeea435dbThe compiler hates mece0a860Mixing Attempt #1 and Attempt #2bbf0cc2Almost working now📊 Changes
44 files changed (+1406 additions, -1142 deletions)
View changed files
➕
.github/workflows/publish.yaml(+29 -0)📝
CHANGELOG.md(+7 -5)📝
Cargo.toml(+13 -21)📝
examples/client_creds.rs(+4 -4)📝
examples/oauth_tokens.rs(+1 -1)📝
examples/ureq/threading.rs(+7 -6)📝
examples/with_auto_reauth.rs(+3 -1)📝
examples/with_refresh_token.rs(+7 -7)📝
rspotify-http/Cargo.toml(+9 -14)📝
rspotify-macros/Cargo.toml(+1 -1)📝
rspotify-model/Cargo.toml(+5 -6)📝
rspotify-model/src/album.rs(+14 -14)📝
rspotify-model/src/artist.rs(+4 -11)📝
rspotify-model/src/audio.rs(+7 -5)➕
rspotify-model/src/auth.rs(+89 -0)📝
rspotify-model/src/category.rs(+2 -2)📝
rspotify-model/src/context.rs(+7 -5)➕
rspotify-model/src/custom_serde.rs(+230 -0)📝
rspotify-model/src/error.rs(+15 -1)📝
rspotify-model/src/idtypes.rs(+447 -217)...and 24 more files
📄 Description
Description
This fixes #224 by creating a wrapper for
Mutexso that it's the same for both sync and async programming, similarly to how pagination works.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.