Crates.io | ferrispot |
lib.rs | ferrispot |
version | 0.4.3 |
source | src |
created_at | 2022-07-19 12:56:08.617054 |
updated_at | 2024-06-26 10:06:39.75438 |
description | A wrapper for the Spotify Web API |
homepage | |
repository | https://github.com/Spanfile/Ferrispot |
max_upload_size | |
id | 628311 |
size | 441,961 |
A wrapper for the Spotify Web API that (hopefully) doesn't suck (too much) (I think).
A lot of the functionality is largely opinionated for my own use but I'm trying to make the library ergonomic and efficient to use. So far only the endpoints I care about are implemented, but if you need some endpoints implemented, feel free to open an issue.
async
(default): enable the asynchronous API.sync
: enable the synchronous API.
default-features = false
), the crate only includes the object model structure with minimal dependencies on serde
and thiserror
.tokio_sleep
(default): react to API rate limits using Tokio's sleep function.async_std_sleep
: react to API rate limits using async-std's sleep function.
tokio_sleep
and async_std_sleep
are enabled, Tokio's sleep function will be used.async
feature is also enabled.native-tls
(default): use native system TLS library for secure connections.rustls-tls
: use rustls
for secure connections.See CHANGELOG.md.
This crate draws a lot of inspiration from:
Dual-licensed under MIT or Apache 2.0.