feat: swordfish-user

Also move tesseract implementation to swordfish cuz only the bot uses it.
This commit is contained in:
2024-01-07 19:19:40 +07:00
parent ebafd93110
commit 8eb622f479
12 changed files with 291 additions and 22 deletions

View File

@ -1,12 +1,12 @@
#![feature(lazy_cell)]
#![feature(string_remove_matches)]
pub use log;
pub use tokio;
pub use tracing::{debug, error, info, trace, warn};
use tracing_subscriber::{self, fmt, EnvFilter};
pub mod constants;
pub mod database;
pub mod structs;
pub mod tesseract;
pub mod utils;
pub fn setup_logger(level: &str) -> Result<(), ()> {