update dependencies

This commit is contained in:
cel 🌸 2023-02-16 18:11:29 +00:00
parent 675081e9d2
commit 0b6d17e871
Signed by: cel
GPG Key ID: 48E29AF13B5F1349
3 changed files with 239 additions and 269 deletions

502
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -8,8 +8,8 @@ edition = "2021"
[dependencies] [dependencies]
rocket = { version = "0.5.0-rc.2", features = ["json"] } rocket = { version = "0.5.0-rc.2", features = ["json"] }
reqwest = { version = "0.11", features = ["json"] } reqwest = { version = "0.11", features = ["json"] }
mastodon-async = "1.0" mastodon-async = "1.1"
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
rocket_dyn_templates = { version = "0.1.0-rc.2", features = ["tera"] } rocket_dyn_templates = { version = "0.1.0-rc.2", features = ["tera"] }
listenbrainz = { git = "https://sectorinf.com/cel/listenbrainz-rs.git" } listenbrainz = "0.7"

View File

@ -4,7 +4,7 @@ use mastodon_async::prelude::*;
pub async fn get_recents(client: &Mastodon) -> Result<Vec<Status>, BlossomError> { pub async fn get_recents(client: &Mastodon) -> Result<Vec<Status>, BlossomError> {
Ok(client Ok(client
.statuses("cel", Default::default()) .statuses(&AccountId::new("cel"), Default::default())
.await? .await?
.initial_items) .initial_items)
} }