Skip to content

Commit

Permalink
fix: serde[skip] on artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
sargon64 committed Sep 11, 2023
1 parent cd62ee3 commit b489afe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/structs/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pub mod manifest {
pub game_version: VersionReq,
pub category: String,

#[serde(skip)]
pub artifact: Option<PathBuf>, // not actually optional
pub includes: Vec<Include>,

Expand Down Expand Up @@ -94,6 +95,7 @@ pub mod manifest {
pub required: bool,
pub suggested: bool,

#[serde(skip)]
pub artifact: Option<PathBuf>, // not actually optional
pub includes: Vec<Include>,

Expand All @@ -114,6 +116,7 @@ pub mod manifest {
pub game_version: VersionReq,
pub category: String,

#[serde(skip)]
pub artifact: Option<PathBuf>, // not actually optional
pub includes: Vec<Include>,

Expand Down

0 comments on commit b489afe

Please sign in to comment.