chore: remove features that don't compile

add: posts "circle" column
This commit is contained in:
trisua 2025-06-15 12:19:58 -04:00
parent 0310418837
commit 50704d27a9
42 changed files with 71 additions and 365 deletions

View file

@ -28,8 +28,6 @@ use tetratto_core::{
},
DataManager,
};
#[cfg(feature = "redis")]
use tetratto_core::cache::redis::Commands;
use tetratto_shared::{
hash::{self, random_id},
@ -534,7 +532,6 @@ pub async fn has_totp_enabled_request(
}
/// Handle a subscription to the websocket.
#[cfg(feature = "redis")]
pub async fn subscription_handler(
jar: CookieJar,
ws: WebSocketUpgrade,
@ -557,7 +554,6 @@ pub async fn subscription_handler(
}))
}
#[cfg(feature = "redis")]
pub async fn handle_socket(socket: WebSocket, db: DataManager, user_id: String, stream_id: String) {
let (mut sink, mut stream) = socket.split();
let socket_id = tetratto_shared::hash::salt();

View file

@ -1,5 +1,6 @@
pub mod apps;
pub mod auth;
pub mod channels;
pub mod communities;
pub mod notifications;
pub mod reactions;
@ -9,9 +10,6 @@ pub mod stacks;
pub mod uploads;
pub mod util;
#[cfg(feature = "redis")]
pub mod channels;
use axum::{
routing::{any, delete, get, post, put},
Router,