blob: a35916af6df6ec2882a8027a9f314e6f8a0dead3 (
plain) (
tree)
|
|
mod messages;
mod environment;
mod consul;
mod consul_actor;
mod igd_actor;
mod diplonat;
use log::*;
use diplonat::Diplonat;
#[tokio::main]
async fn main() {
pretty_env_logger::init();
info!("Starting Diplonat");
let mut diplo = Diplonat::new().await.expect("Setup failed");
diplo.listen().await.expect("A runtime error occured");
}
|