aboutsummaryrefslogtreecommitdiff
path: root/base/src/lib.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-12-21 23:57:42 +0100
committermetamuffin <metamuffin@disroot.org>2023-12-21 23:57:42 +0100
commit3a29113e965a94bdef06655f1583cc6e86edd606 (patch)
treea0910fa9687a9935ba1ca85a9cb5def1a0bc9069 /base/src/lib.rs
parenta8b2480e898e269e7e0d41dbd46d9a18c7d1e4ba (diff)
downloadjellything-3a29113e965a94bdef06655f1583cc6e86edd606.tar
jellything-3a29113e965a94bdef06655f1583cc6e86edd606.tar.bz2
jellything-3a29113e965a94bdef06655f1583cc6e86edd606.tar.zst
rework import system pt. 1
Diffstat (limited to 'base/src/lib.rs')
-rw-r--r--base/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/src/lib.rs b/base/src/lib.rs
index cfc5a11..a7b15c5 100644
--- a/base/src/lib.rs
+++ b/base/src/lib.rs
@@ -6,6 +6,7 @@
#![feature(lazy_cell)]
pub mod cache;
pub mod database;
+pub mod federation;
pub mod permission;
pub mod temp;
@@ -34,6 +35,7 @@ impl AssetLocationExt for AssetLocation {
AssetLocation::Cache(p) => CONF.cache_path.join(p),
AssetLocation::Library(p) => CONF.library_path.join(p),
AssetLocation::Temp(p) => CONF.temp_path.join(p),
+ AssetLocation::Media(p) => CONF.media_path.join(p),
}
}
}