rspotify
maybe-async-rs
Our great sponsors
rspotify | maybe-async-rs | |
---|---|---|
6 | 1 | |
609 | 127 | |
- | - | |
8.2 | 6.0 | |
4 days ago | 2 months ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rspotify
-
How to use rspotify?
Apologies for the stupid question but I'm fairly new to Rust and can't figure out for the life of me how to use the rspotify crate. As far as I can get with the documentation / examples is just that it isn't a regular application / binary of itself but just a crate, but I don't see why that's causing me issues. Whenever I try to run the following example, I get the following error, despite me trying to remove and rebuild the crate just in case.
-
Hey Rustaceans! Got a question? Ask here! (47/2022)!
Link to the example code (Line 42)
-
Announcing the Keyword Generics Initiative
I have wanted async generics myself for some time now. In RSpotify, we have both async and blocking users, so we had to resort to maybe_async to switch between them. However, this macro has a few caveats and isn't as convenient as having it built-in.
- A delayed news: rspotify is 0.11 now
-
What if trait implementation _might_ be async or might not?
maybe_async accomplishes this by switching based on the feature flags enabled for your library. I found it in rspotify, but haven't actually given it a try myself.
-
Psst: 3rd-party Spotify client built with Rust and Druid
As a developer of rspotify I'm curious as to why you chose not to use an already existing API client for Spotify. Are there any problems you found? I do agree that the current version is a mess but we're working on a full rewrite for 0.10 and you might be interested in that.
maybe-async-rs
-
Announcing the Keyword Generics Initiative
I have wanted async generics myself for some time now. In RSpotify, we have both async and blocking users, so we had to resort to maybe_async to switch between them. However, this macro has a few caveats and isn't as convenient as having it built-in.
What are some alternatives?
prettytable-rs - A rust library to print aligned and formatted tables
Bytecode - A Rust proc-macro crate which derives functions to compile and parse back enums and structs to and from a bytecode representation
soundio-rs - Rust wrapper for the libsoundio library.
todo_by - Compile-time lifetimes for comments.
druid - A data-first Rust-native UI design toolkit.
utility-rs - Try impl TypeScript's utility types in rust via proc_macro
onetagger - Music tagger for Windows, MacOS and Linux with Beatport, Discogs, Musicbrainz, Spotify, Traxsource and many other platforms support.
syn-file-expand - Rust library to scan files and expand (make modules inline) multi-file crates source code as a single tree.
Druid - Apache Druid: a high performance real-time analytics database.
proc-quote - A procedural macro implementation of `quote!`.
soundio-rs - Rust wrapper for the libsoundio library.
surrealdb_functions - proc-macro to help with using surrealdb's custom functions