Compare commits

...

2 Commits

Author SHA1 Message Date
Anna 8a4722455b
chore: bump version to 2.0.2 2022-11-02 16:37:55 -04:00
Anna 6a5ec012ee
feat: add function to convert 2022-11-02 16:37:44 -04:00
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "ttmp" name = "ttmp"
version = "2.0.1" version = "2.0.2"
edition = "2021" edition = "2021"
autoexamples = true autoexamples = true

View File

@ -16,4 +16,11 @@ impl ManifestKind {
}, },
} }
} }
pub fn into_mod_pack(self) -> ModPack {
match self {
Self::V1(mods) => mods.into(),
Self::V2(pack) => pack,
}
}
} }