mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-11 00:49:38 +00:00
initial commit
This commit is contained in:
parent
ddeefb5917
commit
80034c9a1a
5 changed files with 3186 additions and 73 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue