tetratto/crates/core/src/lib.rs

14 lines
348 B
Rust
Raw Normal View History

2025-03-23 21:19:16 -04:00
pub mod cache;
pub mod config;
pub mod database;
pub mod model;
pub use database::DataManager;
/// Tells us if pubsub capabilities are provided (via Redis).
///
/// If we have access to pubsub, community channels/messages will be available.
///
/// This is mostly used a flag for the UI.
pub const PUBSUB_ENABLED: bool = cfg!(feature = "redis");