rust-nex/prudpv1/src/lib.rs

14 lines
434 B
Rust
Raw Normal View History

2026-01-31 13:48:06 +01:00
cfg_if::cfg_if! {
if #[cfg(feature = "prudpv1")]{
use proxy_common::{ProxyStartupParam, setup_edge_node_connection};
pub mod executables;
pub mod prudp;
pub async fn start_secure(param: ProxyStartupParam) {
executables::proxy_secure::start();
}
pub async fn start_insecure(param: ProxyStartupParam) {
executables::proxy_insecure::start();
}
}
}