fix: rename crate to rust_nex
This commit is contained in:
parent
9da91bb835
commit
35cee07591
10 changed files with 87 additions and 87 deletions
|
|
@ -9,8 +9,8 @@ use rustls::{
|
|||
SignatureScheme,
|
||||
};
|
||||
use rustls_pki_types::PrivateKeyDer;
|
||||
use splatoon_server_rust::common::setup;
|
||||
use splatoon_server_rust::reggie::{get_configured_tls_acceptor, TestStruct, ROOT_TRUST_ANCHOR, SELF_CERT, SELF_KEY};
|
||||
use rust_nex::common::setup;
|
||||
use rust_nex::reggie::{get_configured_tls_acceptor, TestStruct, ROOT_TRUST_ANCHOR, SELF_CERT, SELF_KEY};
|
||||
use std::borrow::ToOwned;
|
||||
use std::fs;
|
||||
use std::io::Cursor;
|
||||
|
|
@ -21,10 +21,10 @@ use tokio::io::AsyncReadExt;
|
|||
use tokio::net::{TcpListener, TcpSocket};
|
||||
use tokio::task;
|
||||
use tokio_rustls::TlsAcceptor;
|
||||
use splatoon_server_rust::define_rmc_proto;
|
||||
use splatoon_server_rust::rmc::protocols::new_rmc_gateway_connection;
|
||||
use splatoon_server_rust::rmc::response::ErrorCode;
|
||||
use splatoon_server_rust::rmc::structures::RmcSerialize;
|
||||
use rust_nex::define_rmc_proto;
|
||||
use rust_nex::rmc::protocols::new_rmc_gateway_connection;
|
||||
use rust_nex::rmc::response::ErrorCode;
|
||||
use rust_nex::rmc::structures::RmcSerialize;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -17,13 +17,13 @@ use rsa::signature::{RandomizedSigner, SignatureEncoding};
|
|||
use sha2::Sha256;
|
||||
use tokio::net::TcpSocket;
|
||||
use tokio::task;
|
||||
use splatoon_server_rust::common::setup;
|
||||
use splatoon_server_rust::prudp::packet::VirtualPort;
|
||||
use splatoon_server_rust::prudp::router::Router;
|
||||
use splatoon_server_rust::prudp::unsecure::Unsecure;
|
||||
use splatoon_server_rust::reggie::{establish_tls_connection_to, UnitPacketRead, UnitPacketWrite};
|
||||
use splatoon_server_rust::rmc::structures::RmcSerialize;
|
||||
use splatoon_server_rust::rnex_proxy_common::ConnectionInitData;
|
||||
use rust_nex::common::setup;
|
||||
use rust_nex::prudp::packet::VirtualPort;
|
||||
use rust_nex::prudp::router::Router;
|
||||
use rust_nex::prudp::unsecure::Unsecure;
|
||||
use rust_nex::reggie::{establish_tls_connection_to, UnitPacketRead, UnitPacketWrite};
|
||||
use rust_nex::rmc::structures::RmcSerialize;
|
||||
use rust_nex::rnex_proxy_common::ConnectionInitData;
|
||||
|
||||
static OWN_IP_PRIVATE: Lazy<Ipv4Addr> = Lazy::new(|| {
|
||||
env::var("SERVER_IP")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue