mirror of
https://framagit.org/veretcle/scootaloo.git
synced 2025-07-20 17:11:19 +02:00
Merge branch 'fix/unused_struct' into 'master'
fix: remove unused struct See merge request veretcle/scootaloo!13
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -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",
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
|
@@ -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
|
||||||
**********/
|
**********/
|
||||||
|
Reference in New Issue
Block a user