[PR #82] [MERGED] Add async/await #230

Closed
opened 2026-02-27 20:23:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/82
Author: @Rigellute
Created: 2/25/2020
Status: Merged
Merged: 2/27/2020
Merged by: @ramsayleung

Base: masterHead: ramsay/support-for-async-await


📝 Commits (10+)

  • 7944bcc create blocking package, move all blocking endpoint into this package.
  • 2ed4705 convert internal_call, oauth functions and related utils functions to
  • 3408cae comment all endpoint functions which don't support async/await
  • afe5c4a refactor project structure, shorten import path
  • 0b71843 Merge branch 'ramsay/reduce-import-path' into ramsay/support-for-async-await
  • 35de52d add blocking feature, fix import path error.
  • 7cb38f1 add tokio and futures to run async example.
  • c677f4f update artist.rs example to async version.
  • aa9745b move categories.rs example to blocking directory and explicitly declare it in Cargo.toml
  • 9f2d991 move all blocking example into blocking directory, add explicitly declare theme

📊 Changes

155 files changed (+6391 additions, -800 deletions)

View changed files

📝 .gitignore (+2 -1)
📝 CHANGELOG.md (+7 -0)
📝 Cargo.toml (+335 -2)
📝 README.md (+51 -34)
📝 examples/album.rs (+5 -4)
📝 examples/album_tracks.rs (+5 -4)
📝 examples/albums.rs (+5 -4)
📝 examples/artist.rs (+5 -4)
📝 examples/artist_related_artists.rs (+5 -4)
📝 examples/artist_top_tracks.rs (+9 -6)
📝 examples/artists.rs (+5 -4)
📝 examples/artists_albums.rs (+14 -11)
📝 examples/audio_analysis.rs (+5 -4)
📝 examples/audio_features.rs (+5 -4)
📝 examples/audios_features.rs (+5 -4)
examples/blocking/artist_top_tracks.rs (+30 -0)
examples/blocking/categories.rs (+42 -0)
examples/blocking/current_playback.rs (+41 -0)
examples/blocking/current_playing.rs (+41 -0)
examples/blocking/current_user_followed_artists.rs (+39 -0)

...and 80 more files

📄 Description

Purpose of this PR is to track the progress of migrating rspotify to using async/await


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/82 **Author:** [@Rigellute](https://github.com/Rigellute) **Created:** 2/25/2020 **Status:** ✅ Merged **Merged:** 2/27/2020 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `ramsay/support-for-async-await` --- ### 📝 Commits (10+) - [`7944bcc`](https://github.com/ramsayleung/rspotify/commit/7944bcc8375a25c901ac4cdd3b32f36b6e25b76b) create blocking package, move all blocking endpoint into this package. - [`2ed4705`](https://github.com/ramsayleung/rspotify/commit/2ed470567990e0c2241e88db9c79afc5566f9b01) convert internal_call, oauth functions and related utils functions to - [`3408cae`](https://github.com/ramsayleung/rspotify/commit/3408cae9b6db3e40250b4501dd87fc1a6ee620a1) comment all endpoint functions which don't support `async/await` - [`afe5c4a`](https://github.com/ramsayleung/rspotify/commit/afe5c4aa19ac75674e694b1b2781a2e238b4288f) refactor project structure, shorten import path - [`0b71843`](https://github.com/ramsayleung/rspotify/commit/0b71843c49f99c760b93950f63d62848581495fc) Merge branch 'ramsay/reduce-import-path' into ramsay/support-for-async-await - [`35de52d`](https://github.com/ramsayleung/rspotify/commit/35de52de1f410a79060233142eb326757b677103) add blocking feature, fix import path error. - [`7cb38f1`](https://github.com/ramsayleung/rspotify/commit/7cb38f1f77791dc620864224dafbe78057a2986f) add tokio and futures to run async example. - [`c677f4f`](https://github.com/ramsayleung/rspotify/commit/c677f4f6fb6cfdc3f43978cf8a57edc2f5c64df6) update artist.rs example to async version. - [`aa9745b`](https://github.com/ramsayleung/rspotify/commit/aa9745b90da1b90d2bc7177a40afb40a1b14847b) move categories.rs example to blocking directory and explicitly declare it in Cargo.toml - [`9f2d991`](https://github.com/ramsayleung/rspotify/commit/9f2d99123310eb57815b7086f0a30628c3f29fb1) move all blocking example into blocking directory, add explicitly declare theme ### 📊 Changes **155 files changed** (+6391 additions, -800 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -1) 📝 `CHANGELOG.md` (+7 -0) 📝 `Cargo.toml` (+335 -2) 📝 `README.md` (+51 -34) 📝 `examples/album.rs` (+5 -4) 📝 `examples/album_tracks.rs` (+5 -4) 📝 `examples/albums.rs` (+5 -4) 📝 `examples/artist.rs` (+5 -4) 📝 `examples/artist_related_artists.rs` (+5 -4) 📝 `examples/artist_top_tracks.rs` (+9 -6) 📝 `examples/artists.rs` (+5 -4) 📝 `examples/artists_albums.rs` (+14 -11) 📝 `examples/audio_analysis.rs` (+5 -4) 📝 `examples/audio_features.rs` (+5 -4) 📝 `examples/audios_features.rs` (+5 -4) ➕ `examples/blocking/artist_top_tracks.rs` (+30 -0) ➕ `examples/blocking/categories.rs` (+42 -0) ➕ `examples/blocking/current_playback.rs` (+41 -0) ➕ `examples/blocking/current_playing.rs` (+41 -0) ➕ `examples/blocking/current_user_followed_artists.rs` (+39 -0) _...and 80 more files_ </details> ### 📄 Description Purpose of this PR is to track the progress of migrating rspotify to using async/await --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:23:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#230
No description provided.