use tokio::net::TcpListener; use crate::server::{Server, tcpserver::TCPServer}; pub(crate) mod server; pub(crate) mod tasks; #[tokio::main] async fn main() { TCPServer::new(TcpListener::bind("0.0.0.0:8080").await.unwrap()).listen().await; }