Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Drop dead serde derives from core config structs

Manav Rathib3c46ebc4eb0
diff --git a/rust/crates/ensu/src/config.rs b/rust/crates/ensu/src/config.rs
index 428741d726..f32d4fc7c4 100644
--- a/rust/crates/ensu/src/config.rs
+++ b/rust/crates/ensu/src/config.rs
@@ -1,6 +1,4 @@
-use serde::{Deserialize, Serialize};
-
-#[derive(Debug, Clone, Serialize, Deserialize)]
+#[derive(Debug, Clone)]
pub struct ModelPreset {
pub id: String,
pub title: String,
@@ -8,7 +6,7 @@ pub struct ModelPreset {
pub mmproj_url: Option<String>,
}
-#[derive(Debug, Clone, Serialize, Deserialize)]
+#[derive(Debug, Clone)]
pub struct Defaults {
pub mobile_system_prompt_body: String,
pub desktop_system_prompt_body: String,