Skip to content

Commit

Permalink
This commit updates the Config struct to exclude the overwrite_key an…
Browse files Browse the repository at this point in the history
…d force_update fields from serialization. By using the #[serde(skip_serializing)] attribute, these fields will not be included when the Config struct is serialized.
  • Loading branch information
anipaul2 committed May 23, 2023
1 parent 1a89c5d commit 61567b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions teos/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ pub struct Config {
// Flags
pub debug: bool,
pub deps_debug: bool,
#[serde(skip_serializing)]
pub overwrite_key: bool,
#[serde(skip_serializing)]
pub force_update: bool,

// General
Expand Down

0 comments on commit 61567b7

Please sign in to comment.