initial commit

This commit is contained in:
Matthew Esposito 2025-04-15 17:45:36 -04:00
parent ddeefb5917
commit 80034c9a1a
5 changed files with 3186 additions and 73 deletions

View file

@ -173,6 +173,13 @@ async fn main() {
}
}
#[cfg(feature = "p2p")]
{
tokio::spawn(async move {
let _ = redlib::p2p::main().await;
});
}
let address = matches.get_one::<String>("address").unwrap();
let port = matches.get_one::<String>("port").unwrap();
let hsts = matches.get_one("hsts").map(|m: &String| m.as_str());