Merge branch 'fix/unused_struct' into 'master'

fix: remove unused struct

See merge request veretcle/scootaloo!13
This commit is contained in:
VC
2022-04-12 11:44:04 +00:00
3 changed files with 4 additions and 11 deletions

4
Cargo.lock generated
View File

@@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3
[[package]] [[package]]
name = "addr2line" name = "addr2line"
version = "0.14.1" version = "0.14.1"
@@ -1798,7 +1800,7 @@ dependencies = [
[[package]] [[package]]
name = "scootaloo" name = "scootaloo"
version = "0.4.0" version = "0.4.1"
dependencies = [ dependencies = [
"clap", "clap",
"egg-mode", "egg-mode",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "scootaloo" name = "scootaloo"
version = "0.4.0" version = "0.4.1"
authors = ["VC <veretcle+framagit@mateu.be>"] authors = ["VC <veretcle+framagit@mateu.be>"]
edition = "2018" edition = "2018"

View File

@@ -207,15 +207,6 @@ async fn cache_media(u: &str, t: &str) -> Result<String, Box<dyn Error>> {
Ok(dest_filepath) Ok(dest_filepath)
} }
/**********
* This is the struct that holds the Mastodon Media ID and the Twitter Media URL at the same Time
**********/
#[derive(Debug)]
struct ScootalooSpawnResponse {
mastodon_media_id: String,
twitter_media_url: String,
}
/********** /**********
* local error handler * local error handler
**********/ **********/