cobble_core/minecraft/models/library_downloads.rs
1use crate::minecraft::models::file::File;
2use serde::{Deserialize, Serialize};
3use std::collections::HashMap;
4
5/// Download information of a library.
6#[derive(Clone, Debug, Deserialize, Serialize)]
7pub struct LibraryDownloads {
8 /// Library file information.
9 pub artifact: Option<File>,
10 /// Library classifiers for natives.
11 #[serde(default)]
12 pub classifiers: HashMap<String, File>,
13}