Files
2025-04-09 18:57:53 -04:00

25 lines
506 B
Rust

//! classify_text
//!
//! Classify input text as abusive, sexual, etc.
//!
// Never allow these
#![forbid(private_bounds)]
#![forbid(private_interfaces)]
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
// Okay to toggle
#![forbid(unreachable_patterns)]
#![forbid(unused_imports)]
#![forbid(unused_mut)]
#![forbid(unused_variables)]
// Always allow
#![allow(dead_code)]
#![allow(non_snake_case)]
pub (crate) mod regexes;
pub (crate) mod keywords;
pub mod classify_prompt;