Compare commits

..

2 commits
v0.3.3 ... main

Author SHA1 Message Date
254239107c
chore(release): release bandcamp v0.3.4 2024-12-07 19:56:33 +01:00
b3aa94a296
chore: fix clippy lints 2024-12-07 19:55:03 +01:00
5 changed files with 15 additions and 8 deletions

View file

@ -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

View file

@ -1,6 +1,6 @@
[package]
name = "bandcamp"
version = "0.3.3"
version = "0.3.4"
edition = "2021"
authors = ["ThetaDev <thetadev@magenta.de>"]
license = "MIT"

View file

@ -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
///

View file

@ -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<Feed> {
let resp = self
.client
.get(&format!(
.get(format!(
"{}mobile/25/feed_older_logged_out?story_groups=featured",
API_URL
))

View file

@ -22,7 +22,7 @@ pub mod date {
) -> Result<OffsetDateTime, D::Error> {
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 {