From 80173634a02a86f1c4ecb2240e598e3541b51e5d Mon Sep 17 00:00:00 2001 From: Jai A Date: Sun, 19 Dec 2021 19:04:42 -0700 Subject: [PATCH] Fix java version specifier being in snake case --- daedalus/Cargo.toml | 2 +- daedalus/src/minecraft.rs | 1 + daedalus_client/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/daedalus/Cargo.toml b/daedalus/Cargo.toml index b6b09a1aa..fedac092b 100644 --- a/daedalus/Cargo.toml +++ b/daedalus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "daedalus" -version = "0.1.10" +version = "0.1.11" authors = ["Jai A "] edition = "2018" license = "MIT" diff --git a/daedalus/src/minecraft.rs b/daedalus/src/minecraft.rs index ce15217a1..73ee8097d 100644 --- a/daedalus/src/minecraft.rs +++ b/daedalus/src/minecraft.rs @@ -230,6 +230,7 @@ pub struct LibraryExtract { } #[derive(Serialize, Deserialize, Debug)] +#[serde(rename_all = "camelCase")] /// Information about the java version the game needs pub struct JavaVersion { /// The component needed for the Java installation diff --git a/daedalus_client/Cargo.toml b/daedalus_client/Cargo.toml index e196417de..60943cb63 100644 --- a/daedalus_client/Cargo.toml +++ b/daedalus_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "daedalus_client" -version = "0.1.10" +version = "0.1.11" authors = ["Jai A "] edition = "2018"