cobble-core 1.2.0

Library for managing, installing and launching Minecraft instances and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::minecraft::models::file::File;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;

/// Download information of a library.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct LibraryDownloads {
    /// Library file information.
    pub artifact: Option<File>,
    /// Library classifiers for natives.
    #[serde(default)]
    pub classifiers: HashMap<String, File>,
}