25 lines
600 B
Rust
25 lines
600 B
Rust
#![allow(clippy::unused_unit, deprecated)]
|
|
|
|
mod check;
|
|
mod create;
|
|
mod helpers;
|
|
mod list;
|
|
mod markdown;
|
|
mod read;
|
|
mod types;
|
|
mod update;
|
|
|
|
pub use check::check_pending_status;
|
|
pub use create::create_comment;
|
|
#[allow(unused_imports)]
|
|
pub use list::{get_all_comments, get_pending_comments, get_pending_count};
|
|
#[allow(unused_imports)]
|
|
pub use read::get_comment_count;
|
|
pub use read::get_comments;
|
|
pub use types::*;
|
|
pub use update::{approve_comment, batch_update_comment_status, spam_comment, trash_comment};
|
|
|
|
#[cfg(feature = "server")]
|
|
#[allow(unused_imports)]
|
|
pub use markdown::render_comment_markdown;
|