diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-30 18:34:09 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-30 18:34:09 +0100 |
commit | 9d6411fd92e73c204425f8dd37dc3cf567f604e4 (patch) | |
tree | d61d3e0b6bcd803e6ccb6d01669d40a1454ec009 /base | |
parent | bfc5552a8eba07897c2ed626b49c085d97fdfa0d (diff) | |
download | jellything-9d6411fd92e73c204425f8dd37dc3cf567f604e4.tar jellything-9d6411fd92e73c204425f8dd37dc3cf567f604e4.tar.bz2 jellything-9d6411fd92e73c204425f8dd37dc3cf567f604e4.tar.zst |
avoid transitive crate deps by re-export
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}, |