From fa6d7d99dab1e9ec4b506970a19fdf6cda01dfce Mon Sep 17 00:00:00 2001 From: endernon Date: Sun, 24 Nov 2024 20:52:42 +0000 Subject: [PATCH] features was meant to be optional... oops --- Cargo.lock | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 05fb5ac..eada7be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "mcmeta-parser" -version = "0.4.0" +version = "1.0.0" dependencies = [ "serde", ] diff --git a/src/lib.rs b/src/lib.rs index 34eaa20..963d323 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ pub struct Mcmeta { /// Holds the pack information. pub pack: McmetaPack, /// (optional) Section for selecting experimental features. - pub features: McmetaFeatures, + pub features: Option, /// (optional) Section for filtering out files from packs applied below this one. pub filter: Option, /// (optional) Section for specifying the overlays, which are sub-packs applied over the "normal" contents of a pack.