diff options
author | metamuffin <metamuffin@disroot.org> | 2025-04-27 20:00:44 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-04-27 20:00:44 +0200 |
commit | 335ba978dbaf203f3603a815147fd75dbf205723 (patch) | |
tree | 57f7959b6f81ad469ddd3062f2e43f88670a08e4 /base/src/assetfed.rs | |
parent | 11a585b3dbe620dcc8772e713b22f1d9ba80d598 (diff) | |
download | jellything-335ba978dbaf203f3603a815147fd75dbf205723.tar jellything-335ba978dbaf203f3603a815147fd75dbf205723.tar.bz2 jellything-335ba978dbaf203f3603a815147fd75dbf205723.tar.zst |
move cache to own crate
Diffstat (limited to 'base/src/assetfed.rs')
-rw-r--r-- | base/src/assetfed.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/base/src/assetfed.rs b/base/src/assetfed.rs index 697cacb..621169f 100644 --- a/base/src/assetfed.rs +++ b/base/src/assetfed.rs @@ -1,4 +1,9 @@ -use crate::{cache::CachePath, SECRETS}; +/* + 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. + Copyright (C) 2025 metamuffin <metamuffin.org> +*/ +use crate::SECRETS; use aes_gcm_siv::{ aead::{generic_array::GenericArray, Aead}, Aes256GcmSiv, KeyInit, @@ -6,6 +11,7 @@ use aes_gcm_siv::{ use anyhow::{anyhow, bail, Context}; use base64::Engine; use bincode::{Decode, Encode}; +use jellycache::CachePath; use jellycommon::{Asset, LocalTrack}; use log::warn; use serde::Serialize; |