audiot_core 0.2.0

Library that helps build the search database through the CLI, and eventually can be used to read data from that same database.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

use crate::brainz::{GenreReference, Tag};

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct ArtistReference {
    pub id: String,
    pub name: String,
    #[serde(default)]
    pub genres: Vec<GenreReference>,
    #[serde(default, alias = "type")]
    pub artist_type: Option<String>,
    #[serde(default)]
    pub tags: Vec<Tag>,
}