From 68afc87797e25dca30ecb8d4f2c06edcc8c71b22 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 2 Oct 2023 00:39:22 +0200 Subject: untested in-memory cache --- common/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/src/lib.rs') diff --git a/common/src/lib.rs b/common/src/lib.rs index 6403469..a7e1c3f 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -6,10 +6,10 @@ pub mod config; pub mod helpers; pub mod r#impl; +pub mod jhls; pub mod seek_index; pub mod stream; pub mod user; -pub mod jhls; #[cfg(feature = "rocket")] use rocket::{FromFormField, UriDisplayQuery}; @@ -56,7 +56,7 @@ pub struct RemoteImportOptions { #[serde(default)] pub prefix: Option, } -#[derive(Debug, Clone, Deserialize, Serialize)] +#[derive(Debug, Clone, Deserialize, Serialize, Hash, PartialEq, Eq)] #[serde(rename_all = "snake_case")] pub enum AssetLocation { Cache(PathBuf), -- cgit v1.2.3-70-g09d2