diff --git a/CHANGELOG.md b/CHANGELOG.md index c1078b6..bb52300 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ 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 2860a04..b1ad89b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bandcamp" -version = "0.3.3" +version = "0.3.4" edition = "2021" authors = ["ThetaDev "] license = "MIT" diff --git a/src/img_formats.rs b/src/img_formats.rs index ae3bea6..0b439e2 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 07cd872..7720897 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 176c584..15c8fa5 100644 --- a/src/serializer.rs +++ b/src/serializer.rs @@ -22,7 +22,7 @@ pub mod date { ) -> Result { struct DateVisitor; - impl<'de> Visitor<'de> for DateVisitor { + impl Visitor<'_> for DateVisitor { type Value = OffsetDateTime; fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {