minecraft-version

Crates.iominecraft-version
lib.rsminecraft-version
version0.1.0
sourcesrc
created_at2023-01-26 13:58:54.646826
updated_at2023-01-26 13:58:54.646826
descriptionExhaustive enum of Minecraft versions
homepage
repositoryhttps://github.com/KisaragiEffective/minecraft-version-rs
max_upload_size
id768552
size15,807
Kisaragi (KisaragiEffective)

documentation

README

minecraft-version

Exhaustive enum of Minecraft versions

How to use

use minecraft_version::MinecraftVersion;

fn main() {
    let my_version = MinecraftVersion::from_str("1.19.3").unwrap();
    println!("Your selected version is {}", my_version);
}

But how?

Invoking their API by crate named reqwest at compile time.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in minecraft-version by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 5

cargo fmt