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

@ -260,6 +260,10 @@ pub struct Post {
pub title: String,
/// If the post is "open". Posts can act as tickets in a forge community.
pub is_open: bool,
/// The ID of the circle this post belongs to. 0 means no circle is connected.
///
/// If circle is not 0, community should be 0 (and vice versa).
pub circle: usize,
}
impl Post {
@ -287,6 +291,7 @@ impl Post {
poll_id,
title: String::new(),
is_open: true,
circle: 0,
}
}

View file

@ -1,6 +1,7 @@
pub mod addr;
pub mod apps;
pub mod auth;
pub mod channels;
pub mod communities;
pub mod communities_permissions;
pub mod moderation;
@ -8,15 +9,10 @@ pub mod oauth;
pub mod permissions;
pub mod reactions;
pub mod requests;
pub mod socket;
pub mod stacks;
pub mod uploads;
#[cfg(feature = "redis")]
pub mod channels;
#[cfg(feature = "redis")]
pub mod socket;
use std::fmt::Display;
use serde::{Deserialize, Serialize};