🔥: remove unused IDs

This commit is contained in:
VC
2024-07-22 09:43:38 +02:00
parent e2cf84a889
commit f5e0c660c9
3 changed files with 2 additions and 5 deletions

2
Cargo.lock generated
View File

@@ -1192,7 +1192,7 @@ dependencies = [
[[package]] [[package]]
name = "tootube" name = "tootube"
version = "0.7.1" version = "0.7.2"
dependencies = [ dependencies = [
"async-stream", "async-stream",
"clap", "clap",

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "tootube" name = "tootube"
authors = ["VC <veretcle+framagit@mateu.be>"] authors = ["VC <veretcle+framagit@mateu.be>"]
version = "0.7.1" version = "0.7.2"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -12,7 +12,6 @@ use tokio::fs::{read_to_string, write};
#[derive(Debug, Deserialize)] #[derive(Debug, Deserialize)]
pub struct PeerTubeVideos { pub struct PeerTubeVideos {
pub total: u64,
pub data: Vec<PeerTubeVideo>, pub data: Vec<PeerTubeVideo>,
} }
@@ -77,7 +76,6 @@ struct PeerTubeVideoTokenResponseFiles {
#[derive(Eq, Debug, Deserialize)] #[derive(Eq, Debug, Deserialize)]
pub struct PeerTubeVideoStreamingPlaylistsFiles { pub struct PeerTubeVideoStreamingPlaylistsFiles {
pub id: u64,
pub resolution: PeerTubeVideoStreamingPlaylistsFilesResolution, pub resolution: PeerTubeVideoStreamingPlaylistsFilesResolution,
#[serde(rename = "fileDownloadUrl")] #[serde(rename = "fileDownloadUrl")]
pub file_download_url: String, pub file_download_url: String,
@@ -114,7 +112,6 @@ pub struct PeerTubeVideoPlaylists {
#[derive(Debug, Deserialize)] #[derive(Debug, Deserialize)]
pub struct PeerTubeVideoPlaylist { pub struct PeerTubeVideoPlaylist {
pub id: u16,
pub uuid: String, pub uuid: String,
#[serde(rename = "displayName")] #[serde(rename = "displayName")]
pub display_name: String, pub display_name: String,