From 61567b744e1d5f02e70cf41326b07a354daa1609 Mon Sep 17 00:00:00 2001 From: anipaul2 Date: Sat, 13 May 2023 02:23:06 +0530 Subject: [PATCH] This commit updates the Config struct to exclude the overwrite_key and force_update fields from serialization. By using the #[serde(skip_serializing)] attribute, these fields will not be included when the Config struct is serialized. --- teos/src/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teos/src/config.rs b/teos/src/config.rs index 5436725f..512cd0da 100644 --- a/teos/src/config.rs +++ b/teos/src/config.rs @@ -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