This commit is contained in:
Maple Nebel 2026-07-13 23:47:15 +02:00
commit f1d16e40a1
36 changed files with 730 additions and 1392 deletions

View file

@ -13,6 +13,8 @@ prudpv1 = { path = "../prudpv1", optional = true }
proxy-common = { path = "../proxy-common" }
cfg-if = "1.0.4"
rnex-prudp = { path = "../rnex-prudp" }
rnex-server = { path = "../rnex-server" }
tracing = "0.1.44"
[features]
prudpv0 = ["dep:prudpv0"]

View file

@ -1,6 +1,6 @@
use proxy::edge_node_dc_callback;
use proxy_common::{ProxyStartupParam, setup_edge_node_connection};
use rnex_core::common::with_setup;
use rnex_server::with_setup;
#[tokio::main]
async fn main() {
@ -11,6 +11,7 @@ async fn main() {
setup_edge_node_connection(&param, edge_node_dc_callback).await;
proxy::start_insecure(param).await;
Ok(())
})
.await;
}

View file

@ -1,7 +1,7 @@
use std::process::abort;
use cfg_if::cfg_if;
use log::error;
use tracing::error;
cfg_if! {
if #[cfg(feature = "prudpv0")]{

View file

@ -1,6 +1,6 @@
use proxy::edge_node_dc_callback;
use proxy_common::{ProxyStartupParam, setup_edge_node_connection};
use rnex_core::common::with_setup;
use rnex_server::with_setup;
#[tokio::main]
async fn main() {
@ -10,6 +10,7 @@ async fn main() {
setup_edge_node_connection(&param, edge_node_dc_callback).await;
proxy::start_secure(param).await;
Ok(())
})
.await;
}