Rejiggle things a bit to make it possible to have multiple binaries here for publishing
This commit is contained in:
parent
901c4b6e97
commit
08dc55b2cd
|
@ -0,0 +1,4 @@
|
||||||
|
pub mod algos;
|
||||||
|
pub mod config;
|
||||||
|
pub mod processes;
|
||||||
|
pub mod services;
|
18
src/main.rs
18
src/main.rs
|
@ -1,7 +1,4 @@
|
||||||
mod algos;
|
extern crate nederlandskie;
|
||||||
mod config;
|
|
||||||
mod processes;
|
|
||||||
mod services;
|
|
||||||
|
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
|
@ -10,15 +7,10 @@ use env_logger::Env;
|
||||||
use lingua::LanguageDetectorBuilder;
|
use lingua::LanguageDetectorBuilder;
|
||||||
use log::info;
|
use log::info;
|
||||||
|
|
||||||
use crate::algos::AlgosBuilder;
|
use nederlandskie::algos::{AlgosBuilder, Nederlandskie};
|
||||||
use crate::algos::Nederlandskie;
|
use nederlandskie::config::Config;
|
||||||
use crate::config::Config;
|
use nederlandskie::processes::{FeedServer, PostIndexer, ProfileClassifier};
|
||||||
use crate::processes::FeedServer;
|
use nederlandskie::services::{Bluesky, Database, AI};
|
||||||
use crate::processes::PostIndexer;
|
|
||||||
use crate::processes::ProfileClassifier;
|
|
||||||
use crate::services::Bluesky;
|
|
||||||
use crate::services::Database;
|
|
||||||
use crate::services::AI;
|
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> Result<()> {
|
async fn main() -> Result<()> {
|
||||||
|
|
Loading…
Reference in New Issue