From f5e0c660c99b36e40b4af9125655d844bd645f01 Mon Sep 17 00:00:00 2001 From: VC Date: Mon, 22 Jul 2024 09:43:38 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5:=20remove=20unused=20IDs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/peertube.rs | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2b12956..124b5ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1192,7 +1192,7 @@ dependencies = [ [[package]] name = "tootube" -version = "0.7.1" +version = "0.7.2" dependencies = [ "async-stream", "clap", diff --git a/Cargo.toml b/Cargo.toml index 60b4a3a..c82c053 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tootube" authors = ["VC "] -version = "0.7.1" +version = "0.7.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/peertube.rs b/src/peertube.rs index a30eb14..e80957c 100644 --- a/src/peertube.rs +++ b/src/peertube.rs @@ -12,7 +12,6 @@ use tokio::fs::{read_to_string, write}; #[derive(Debug, Deserialize)] pub struct PeerTubeVideos { - pub total: u64, pub data: Vec, } @@ -77,7 +76,6 @@ struct PeerTubeVideoTokenResponseFiles { #[derive(Eq, Debug, Deserialize)] pub struct PeerTubeVideoStreamingPlaylistsFiles { - pub id: u64, pub resolution: PeerTubeVideoStreamingPlaylistsFilesResolution, #[serde(rename = "fileDownloadUrl")] pub file_download_url: String, @@ -114,7 +112,6 @@ pub struct PeerTubeVideoPlaylists { #[derive(Debug, Deserialize)] pub struct PeerTubeVideoPlaylist { - pub id: u16, pub uuid: String, #[serde(rename = "displayName")] pub display_name: String,