aboutsummaryrefslogtreecommitdiff
path: root/import/src/tmdb.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-04-27 20:00:44 +0200
committermetamuffin <metamuffin@disroot.org>2025-04-27 20:00:44 +0200
commit335ba978dbaf203f3603a815147fd75dbf205723 (patch)
tree57f7959b6f81ad469ddd3062f2e43f88670a08e4 /import/src/tmdb.rs
parent11a585b3dbe620dcc8772e713b22f1d9ba80d598 (diff)
downloadjellything-335ba978dbaf203f3603a815147fd75dbf205723.tar
jellything-335ba978dbaf203f3603a815147fd75dbf205723.tar.bz2
jellything-335ba978dbaf203f3603a815147fd75dbf205723.tar.zst
move cache to own crate
Diffstat (limited to 'import/src/tmdb.rs')
-rw-r--r--import/src/tmdb.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/import/src/tmdb.rs b/import/src/tmdb.rs
index 45d7650..dff0e95 100644
--- a/import/src/tmdb.rs
+++ b/import/src/tmdb.rs
@@ -6,13 +6,11 @@
use crate::USER_AGENT;
use anyhow::{anyhow, bail, Context};
use bincode::{Decode, Encode};
-use jellybase::{
- cache::{async_cache_file, async_cache_memory, CachePath},
- common::{
- chrono::{format::Parsed, Utc},
- TmdbKind,
- },
+use jellybase::common::{
+ chrono::{format::Parsed, Utc},
+ TmdbKind,
};
+use jellycache::{async_cache_file, async_cache_memory, CachePath};
use log::info;
use reqwest::{
header::{HeaderMap, HeaderName, HeaderValue},