#[cfg(all(
not(windows),
not(target_os = "android"),
not(target_os = "freebsd"),
feature = "jemalloc"
))]
#[global_allocator]
static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc;
use tokio;
use website_crawler::grpc_start;
use website_crawler::interface::settings::Settings;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
Settings::new(true);
grpc_start().await?;
Ok(())
}