mvm 0.1.0

A Minecraft Version Manager for Vanilla and Paper servers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! This submodule provides structures and types for parsing JSON responses from PaperMC's Downloads API.

use serde::Deserialize;

#[derive(Deserialize, Debug)]
pub struct PaperVersions {
    pub versions: Vec<String>,
}

#[derive(Deserialize, Debug)]
pub struct PaperVersionBuilds {
    pub builds: Vec<u32>
}


pub type PaperVersion = String;

pub type PaperDownloadLink = String;