Update dependencies (#53)

* Removing new lines

* Updated reqwest, tokio, tokio-utils, and uuid

* Including Cargo.lock in source control

* Not sure how this got here

* Updated icarus_models

* Workflow change

* Removing unused workflow

* Github workflow fix

* Warning fixes

* Fixed what caused failed test

* Code cleanup and formatting
This commit was merged in pull request #53.
This commit is contained in:
KD
2025-07-02 12:26:38 -04:00
committed by GitHub
parent 8e6ddbc9df
commit 8b2b2f82e9
15 changed files with 1884 additions and 158 deletions
+3 -17
View File
@@ -5,19 +5,11 @@ use reqwest;
use crate::models;
use crate::syncers;
#[derive(Clone, Debug)]
#[derive(Clone, Debug, Default)]
pub struct Delete {
pub api: models::api::API,
}
impl Default for Delete {
fn default() -> Self {
Delete {
api: models::api::API::default(),
}
}
}
impl Delete {
pub async fn delete_song(
&mut self,
@@ -41,16 +33,10 @@ impl Delete {
match response.json::<icarus_models::song::Song>().await {
Ok(sng) => Ok(sng),
Err(er) => Err(std::io::Error::new(
std::io::ErrorKind::Other,
er.to_string(),
)),
Err(er) => Err(std::io::Error::other(er.to_string())),
}
}
other => Err(std::io::Error::new(
std::io::ErrorKind::Other,
other.to_string(),
)),
other => Err(std::io::Error::other(other.to_string())),
}
}
}