1
2
3
4
5
6
7
8
9
10
11
use crate::minecraft::models::file::File;
use serde::{Deserialize, Serialize};

/// Download information of a library.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct LibraryDownloads {
    /// Library file information.
    pub artifact: File,
    // TODO: properly deserialize
    classifiers: Option<serde_json::Value>,
}