diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/Cargo.toml | 1 | ||||
-rw-r--r-- | base/src/lib.rs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/base/Cargo.toml b/base/Cargo.toml index b9e47de..e897404 100644 --- a/base/Cargo.toml +++ b/base/Cargo.toml @@ -22,3 +22,4 @@ aes-gcm-siv = "0.11.1" [features] db_json = [] +rocket = ["jellycommon/rocket"] diff --git a/base/src/lib.rs b/base/src/lib.rs index cf28d85..cb5bae7 100644 --- a/base/src/lib.rs +++ b/base/src/lib.rs @@ -9,6 +9,8 @@ pub mod database; pub mod federation; pub mod permission; +pub use jellycommon as common; + use jellycommon::config::{GlobalConfig, SecretsConfig}; use std::sync::{ atomic::{AtomicBool, Ordering}, |