remove codec folder in nxrp

This commit is contained in:
2026-03-26 11:52:04 +07:00
parent 5ed50f6283
commit 6a0eafd2f5
14 changed files with 19 additions and 24 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
use crate::nrxp::codec::frame::FrameType;
use crate::net::connection::muxer::{MuxMessage, Muxer};
use crate::net::network::NetworkConfig;
use crate::nrxp::frame::FrameType;
use bytes::{Bytes, BytesMut};
use netrunner_logger::{debug, error};
use tokio::net::UdpSocket;
+3 -5
View File
@@ -6,12 +6,10 @@ use crate::{
network::NetworkConfig,
},
nrxp::{
codec::{
codec::Codec,
frame::FrameType,
socks::{SocksReply, SocksRequest},
},
codec::Codec,
errors::ErrorAction,
frame::FrameType,
socks::{SocksReply, SocksRequest},
},
parser::Parser,
tlseng::profile::BrowserProfile,
+1 -4
View File
@@ -11,10 +11,7 @@ use tokio_util::sync::CancellationToken;
use crate::{
net::connection::{handler::StreamHandler, muxer::MuxMessage},
nrxp::{
codec::{codec::Codec, frame::FrameType},
errors::ErrorAction,
},
nrxp::{codec::Codec, errors::ErrorAction, frame::FrameType},
};
pub struct TunnelEngine {
+1 -1
View File
@@ -10,7 +10,7 @@ use crate::{
},
network::NetworkConfig,
},
nrxp::codec::{
nrxp::{
frame::{Frame, FrameType},
socks::SocksReply,
},
+1 -1
View File
@@ -1,4 +1,4 @@
pub mod bridge;
mod bridge;
pub mod connection;
pub mod engine;
pub mod handler;
+2 -1
View File
@@ -1,10 +1,11 @@
use crate::nrxp::codec::frame::FrameType;
use bytes::Bytes;
use dashmap::DashMap;
use std::sync::atomic::{AtomicU32, Ordering};
use std::sync::Arc;
use tokio::sync::mpsc::{error::SendError, Sender};
use crate::nrxp::frame::FrameType;
pub struct IdGenerator {
counter: AtomicU32,
}