From 46c251655db7bb3d9aa814b1a5dde85336b0b9b1 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 20 Jan 2024 00:50:20 +0100 Subject: replace sled with redb --- common/src/stream.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/src/stream.rs') diff --git a/common/src/stream.rs b/common/src/stream.rs index 4aa51d3..7b56d0e 100644 --- a/common/src/stream.rs +++ b/common/src/stream.rs @@ -1,3 +1,4 @@ +use bincode::{Decode, Encode}; /* This file is part of jellything (https://codeberg.org/metamuffin/jellything) which is licensed under the GNU Affero General Public License (version 3); see /COPYING. @@ -18,7 +19,7 @@ pub struct StreamSpec { } #[rustfmt::skip] -#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, Hash)] +#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, Hash, Encode, Decode)] #[serde(rename_all = "snake_case")] #[cfg_attr(feature = "rocket", derive(FromFormField, UriDisplayQuery))] pub enum StreamFormat { -- cgit v1.2.3-70-g09d2