From 83cb8a862bf4361188ff8f7f2f3377cd9e46ff6a Mon Sep 17 00:00:00 2001 From: glendc Date: Tue, 12 Nov 2024 20:48:26 +0100 Subject: [PATCH] impl serde::Serialize for Proxyy --- rama-proxy/src/proxydb/internal.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rama-proxy/src/proxydb/internal.rs b/rama-proxy/src/proxydb/internal.rs index c27573db..23deeddf 100644 --- a/rama-proxy/src/proxydb/internal.rs +++ b/rama-proxy/src/proxydb/internal.rs @@ -5,12 +5,12 @@ use rama_net::{ transport::{TransportContext, TransportProtocol}, }; use rama_utils::str::NonEmptyString; -use serde::Deserialize; +use serde::{Deserialize, Serialize}; #[cfg(feature = "memory-db")] use venndb::VennDB; -#[derive(Debug, Clone, Deserialize)] +#[derive(Debug, Clone, Serialize, Deserialize)] #[cfg_attr(feature = "memory-db", derive(VennDB))] #[cfg_attr(feature = "memory-db", venndb(validator = proxydb_insert_validator))] /// The selected proxy to use to connect to the proxy.