aboutsummaryrefslogtreecommitdiff
path: root/common/src/lib.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-10-02 00:39:22 +0200
committermetamuffin <metamuffin@disroot.org>2023-10-02 00:39:22 +0200
commit68afc87797e25dca30ecb8d4f2c06edcc8c71b22 (patch)
tree6e6dc0bb4260256138ae063e9cab790caa4fc961 /common/src/lib.rs
parent944fd726e0bd23179ed6ab285cab6c7fce645353 (diff)
downloadjellything-68afc87797e25dca30ecb8d4f2c06edcc8c71b22.tar
jellything-68afc87797e25dca30ecb8d4f2c06edcc8c71b22.tar.bz2
jellything-68afc87797e25dca30ecb8d4f2c06edcc8c71b22.tar.zst
untested in-memory cache
Diffstat (limited to 'common/src/lib.rs')
-rw-r--r--common/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
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<String>,
}
-#[derive(Debug, Clone, Deserialize, Serialize)]
+#[derive(Debug, Clone, Deserialize, Serialize, Hash, PartialEq, Eq)]
#[serde(rename_all = "snake_case")]
pub enum AssetLocation {
Cache(PathBuf),