diff --git a/Cargo.toml b/Cargo.toml index b8dbd8d..e28ca79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,16 +10,16 @@ members = [ ] [workspace.package] -version = "0.24.0" +version = "0.24.1" edition = "2024" authors = ["shellrow "] [workspace.dependencies] -nex-core = { version = "0.24.0", path = "nex-core" } -nex-datalink = { version = "0.24.0", path = "nex-datalink" } -nex-packet = { version = "0.24.0", path = "nex-packet" } -nex-sys = { version = "0.24.0", path = "nex-sys" } -nex-socket = { version = "0.24.0", path = "nex-socket" } +nex-core = { version = "0.24.1", path = "nex-core" } +nex-datalink = { version = "0.24.1", path = "nex-datalink" } +nex-packet = { version = "0.24.1", path = "nex-packet" } +nex-sys = { version = "0.24.1", path = "nex-sys" } +nex-socket = { version = "0.24.1", path = "nex-socket" } serde = { version = "1" } libc = "0.2" netdev = { version = "0.39" } diff --git a/README.md b/README.md index 852f496..c9689bd 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ To use `nex`, add it as a dependency in your `Cargo.toml`: ```toml [dependencies] -nex = "0.23" +nex = "0.24" ``` ## Using Specific Sub-crates diff --git a/nex-packet/src/vlan.rs b/nex-packet/src/vlan.rs index d8a018e..4f92898 100644 --- a/nex-packet/src/vlan.rs +++ b/nex-packet/src/vlan.rs @@ -94,8 +94,6 @@ impl Packet for VlanPacket { // VLAN TCI let tci = bytes.get_u16(); - let raw_pcp = ((tci >> 13) & 0b111) as u8; - println!("DEBUG: tci=0x{:04x}, raw_pcp={}", tci, raw_pcp); let pcp = ClassOfService::new(((tci >> 13) & 0b111) as u8); let drop_eligible_id = ((tci >> 12) & 0b1) as u1; let vlan_id = (tci & 0x0FFF) as u12be; diff --git a/nex-socket/src/tcp/async_impl.rs b/nex-socket/src/tcp/async_impl.rs index 140af96..e160644 100644 --- a/nex-socket/src/tcp/async_impl.rs +++ b/nex-socket/src/tcp/async_impl.rs @@ -112,7 +112,6 @@ impl AsyncTcpSocket { return Ok(stream); } Err(e) => { - println!("Failed to connect: {}", e); return Err(e); } }