mc-launcher 0.1.2

Helpful crate for run Minecraft
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct AssetIndex {
  /// The assets version.
  pub id: String,
  /// The SHA1 of the assets file.
  pub sha1: String,
  /// The size of the version.
  pub size: usize,
  /// The total size of the version.
  #[serde(rename = "totalSize")]
  pub total_size: usize,
  /// Undocumented
  pub known: Option<bool>,
  /// The URL that the game should visit to download the assets.
  pub url: String
}