From 9d6411fd92e73c204425f8dd37dc3cf567f604e4 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 30 Jan 2025 18:34:09 +0100 Subject: avoid transitive crate deps by re-export --- base/Cargo.toml | 1 + base/src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) (limited to 'base') 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}, -- cgit v1.2.3-70-g09d2