Fix compilation
Some checks failed
Cargo CI / Build and Test (pull_request) Failing after 2m13s
Cargo CI / Lint (pull_request) Successful in 1m8s

This commit is contained in:
Wojciech Kozlowski 2025-01-11 17:09:30 +01:00
parent 7b6cb56066
commit 03d950109b
2 changed files with 2 additions and 3 deletions

View File

@ -5,8 +5,6 @@ use crate::core::collection::{
musicbrainz::MbRefOption, musicbrainz::MbRefOption,
}; };
pub const V20250103: &str = "V20250103";
#[derive(Debug, Deserialize, Serialize)] #[derive(Debug, Deserialize, Serialize)]
#[serde(remote = "AlbumLibId")] #[serde(remote = "AlbumLibId")]
pub enum AlbumLibIdDef { pub enum AlbumLibIdDef {

View File

@ -13,12 +13,13 @@ use crate::{
interface::database::{IDatabase, LoadError, SaveError}, interface::database::{IDatabase, LoadError, SaveError},
}, },
external::database::serde::{ external::database::serde::{
common::V20250103,
deserialize::{DeserializeAlbum, DeserializeArtist, DeserializeDatabase}, deserialize::{DeserializeAlbum, DeserializeArtist, DeserializeDatabase},
serialize::{SerializeAlbum, SerializeArtist, SerializeDatabase}, serialize::{SerializeAlbum, SerializeArtist, SerializeDatabase},
}, },
}; };
const V20250103: &str = "V20250103";
/// Trait for the SQL database backend. /// Trait for the SQL database backend.
pub trait ISqlDatabaseBackend<'conn> { pub trait ISqlDatabaseBackend<'conn> {
type Tx: ISqlTransactionBackend + 'conn; type Tx: ISqlTransactionBackend + 'conn;