diff --git a/CHANGELOG.md b/CHANGELOG.md index bb52300..c1078b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,13 +3,6 @@ All notable changes to this project will be documented in this file. -## [v0.3.4](https://code.thetadev.de/ThetaDev/bandcamp/compare/v0.3.3..v0.3.4) - 2024-12-07 - -### ⚙️ Miscellaneous Tasks - -- Fix clippy lints - ([b3aa94a](https://code.thetadev.de/ThetaDev/bandcamp/commit/b3aa94a296f7688f1fb1cd156e2018321b3940fb)) - - ## [v0.3.3](https://code.thetadev.de/ThetaDev/bandcamp/compare/v0.3.2..v0.3.3) - 2024-11-15 ### ⚙️ Miscellaneous Tasks diff --git a/Cargo.toml b/Cargo.toml index b1ad89b..2860a04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bandcamp" -version = "0.3.4" +version = "0.3.3" edition = "2021" authors = ["ThetaDev "] license = "MIT" diff --git a/src/img_formats.rs b/src/img_formats.rs index 0b439e2..ae3bea6 100644 --- a/src/img_formats.rs +++ b/src/img_formats.rs @@ -1,5 +1,5 @@ -// This file has been automatically generated. DO NOT EDIT. -// The generation code is located in the `codegen` crate. +/// This file has been automatically generated. DO NOT EDIT. +/// The generation code is located in the `codegen` crate. /// Format of a Bandcamp image /// diff --git a/src/requests.rs b/src/requests.rs index 7720897..07cd872 100644 --- a/src/requests.rs +++ b/src/requests.rs @@ -67,7 +67,7 @@ impl Bandcamp { let resp = self .client - .post(format!("{}mobile/24/band_details", API_URL)) + .post(&format!("{}mobile/24/band_details", API_URL)) .json(&req) .send() .await? @@ -96,7 +96,7 @@ impl Bandcamp { let resp = self .client - .post(format!("{}mobile/25/tralbum_details", API_URL)) + .post(&format!("{}mobile/25/tralbum_details", API_URL)) .json(&req) .send() .await? @@ -129,7 +129,7 @@ impl Bandcamp { let resp = self .client - .post(format!( + .post(&format!( "{}bcsearch_public_api/1/autocomplete_elastic", API_URL )) @@ -149,7 +149,7 @@ impl Bandcamp { pub async fn feed(&self) -> Result { let resp = self .client - .get(format!( + .get(&format!( "{}mobile/25/feed_older_logged_out?story_groups=featured", API_URL )) diff --git a/src/serializer.rs b/src/serializer.rs index 15c8fa5..176c584 100644 --- a/src/serializer.rs +++ b/src/serializer.rs @@ -22,7 +22,7 @@ pub mod date { ) -> Result { struct DateVisitor; - impl Visitor<'_> for DateVisitor { + impl<'de> Visitor<'de> for DateVisitor { type Value = OffsetDateTime; fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {