mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #253] [CLOSED] Fix feature conflicts v2 #348
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#348
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/253
Author: @marioortizmanero
Created: 9/19/2021
Status: ❌ Closed
Base:
master← Head:fix-conflicts-2📝 Commits (10+)
518e622Attempt two at conflict fixingb3536c6Merge branch 'fix-token-read' into fix-conflicts-252ee125More or less fix tests6b0c8cbGeneric client9861d55Fix examples and testsc35ab7eMore or less fix tests and formattingf151a09Fix CIf6efc0fFix warningseb75b6cMove rspotify-http into mod to fix last warnings90a6d9eBump versions📊 Changes
36 files changed (+327 additions, -303 deletions)
View changed files
📝
.github/workflows/ci.yml(+9 -5)📝
Cargo.toml(+28 -54)📝
examples/auth_code.rs(+3 -2)📝
examples/auth_code_pkce.rs(+4 -2)📝
examples/client_creds.rs(+4 -2)📝
examples/oauth_tokens.rs(+4 -2)📝
examples/pagination_async.rs(+4 -2)📝
examples/pagination_manual.rs(+4 -2)📝
examples/with_refresh_token.rs(+5 -3)➖
rspotify-http/Cargo.toml(+0 -49)➖
rspotify-http/src/lib.rs(+0 -43)📝
rspotify-macros/Cargo.toml(+1 -1)📝
rspotify-model/Cargo.toml(+1 -1)➕
rspotify-sync/.env(+1 -0)➕
rspotify-sync/Cargo.toml(+84 -0)📝
rspotify-sync/examples/device.rs(+2 -2)📝
rspotify-sync/examples/me.rs(+2 -2)📝
rspotify-sync/examples/pagination_sync.rs(+2 -2)📝
rspotify-sync/examples/search.rs(+3 -2)📝
rspotify-sync/examples/seek_track.rs(+2 -2)...and 16 more files
📄 Description
Description
This supersedes #222, which is now kinda outdated.
In this attempt I'm trying to follow what the https://github.com/bodil/im-rs crate did. We can just have two crates; the main one for async, and a separate one for sync. We can keep using
maybe_asyncin theory. This is unfortunately a bit confusing but it's the only way to do it. I'm working on a blog post with research about the whole async & sync stuff and I'll post it before this PR is merged to give more context and a full explanation of how it works.Motivation and Context
This closes #221
Dependencies
None
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
An empty project with this
Cargo.tomlwill fail:But with this it will work:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.