coverart add song_id #49

Merged
phoenix merged 9 commits from coverart_add_song_id into devel 2025-07-26 16:35:52 +00:00
3 changed files with 4 additions and 2 deletions

2
Cargo.lock generated
View File

@@ -60,7 +60,7 @@ dependencies = [
[[package]] [[package]]
name = "icarus_models" name = "icarus_models"
version = "0.5.0" version = "0.5.1"
dependencies = [ dependencies = [
"rand", "rand",
"serde", "serde",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "icarus_models" name = "icarus_models"
version = "0.5.0" version = "0.5.1"
edition = "2024" edition = "2024"
rust-version = "1.88" rust-version = "1.88"
description = "models used for the icarus project" description = "models used for the icarus project"

View File

@@ -9,6 +9,7 @@ pub struct CoverArt {
pub path: String, pub path: String,
#[serde(skip)] #[serde(skip)]
pub data: Vec<u8>, pub data: Vec<u8>,
pub song_id: uuid::Uuid,
} }
pub mod init { pub mod init {
@@ -20,6 +21,7 @@ pub mod init {
title: String::new(), title: String::new(),
path: path.clone(), path: path.clone(),
data: Vec::new(), data: Vec::new(),
song_id: uuid::Uuid::nil(),
} }
} }
} }