features was meant to be optional... oops
This commit is contained in:
parent
6604bfc784
commit
fa6d7d99da
2 changed files with 2 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mcmeta-parser"
|
name = "mcmeta-parser"
|
||||||
version = "0.4.0"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
|
|
@ -6,7 +6,7 @@ pub struct Mcmeta {
|
||||||
/// Holds the pack information.
|
/// Holds the pack information.
|
||||||
pub pack: McmetaPack,
|
pub pack: McmetaPack,
|
||||||
/// (optional) Section for selecting experimental features.
|
/// (optional) Section for selecting experimental features.
|
||||||
pub features: McmetaFeatures,
|
pub features: Option<McmetaFeatures>,
|
||||||
/// (optional) Section for filtering out files from packs applied below this one.
|
/// (optional) Section for filtering out files from packs applied below this one.
|
||||||
pub filter: Option<McmetaFilter>,
|
pub filter: Option<McmetaFilter>,
|
||||||
/// (optional) Section for specifying the overlays, which are sub-packs applied over the "normal" contents of a pack.
|
/// (optional) Section for specifying the overlays, which are sub-packs applied over the "normal" contents of a pack.
|
||||||
|
|
Loading…
Reference in a new issue