From 9633cb66fc3c7151976fe1f69e07bd414f4effe3 Mon Sep 17 00:00:00 2001 From: shellrow Date: Sun, 12 Oct 2025 14:12:57 +0900 Subject: [PATCH 1/2] Update dependencies --- Cargo.toml | 2 +- nex-core/src/device.rs | 1 - nex-core/src/gateway.rs | 1 - nex-core/src/interface.rs | 2 +- nex-core/src/lib.rs | 2 -- nex-core/src/mac.rs | 2 +- 6 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 nex-core/src/device.rs delete mode 100644 nex-core/src/gateway.rs diff --git a/Cargo.toml b/Cargo.toml index 99d3292..c32ca2e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ nex-sys = { version = "0.23.1", path = "nex-sys" } nex-socket = { version = "0.23.1", path = "nex-socket" } serde = { version = "1" } libc = "0.2" -netdev = { version = "0.37" } +netdev = { version = "0.38" } bytes = "1" tokio = { version = "1" } rand = "0.8" diff --git a/nex-core/src/device.rs b/nex-core/src/device.rs deleted file mode 100644 index 51a2598..0000000 --- a/nex-core/src/device.rs +++ /dev/null @@ -1 +0,0 @@ -pub use netdev::device::*; diff --git a/nex-core/src/gateway.rs b/nex-core/src/gateway.rs deleted file mode 100644 index 7479d41..0000000 --- a/nex-core/src/gateway.rs +++ /dev/null @@ -1 +0,0 @@ -pub use netdev::gateway::*; diff --git a/nex-core/src/interface.rs b/nex-core/src/interface.rs index 806a3fa..fbd89d8 100644 --- a/nex-core/src/interface.rs +++ b/nex-core/src/interface.rs @@ -1 +1 @@ -pub use netdev::interface::*; +pub use netdev::*; diff --git a/nex-core/src/lib.rs b/nex-core/src/lib.rs index 77e11f2..9024c90 100644 --- a/nex-core/src/lib.rs +++ b/nex-core/src/lib.rs @@ -4,8 +4,6 @@ pub use netdev; pub mod bitfield; -pub mod device; -pub mod gateway; pub mod interface; pub mod ip; pub mod mac; diff --git a/nex-core/src/mac.rs b/nex-core/src/mac.rs index 45ce50e..350c3a2 100644 --- a/nex-core/src/mac.rs +++ b/nex-core/src/mac.rs @@ -1 +1 @@ -pub use netdev::mac::*; +pub use netdev::net::mac::*; From a5ce5ad4db1321e39f27e227ee54dde54b135e7d Mon Sep 17 00:00:00 2001 From: shellrow Date: Sun, 12 Oct 2025 14:15:53 +0900 Subject: [PATCH 2/2] Bump version to 0.23.2 --- Cargo.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c32ca2e..dd6c202 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,16 +10,16 @@ members = [ ] [workspace.package] -version = "0.23.1" +version = "0.23.2" edition = "2021" authors = ["shellrow "] [workspace.dependencies] -nex-core = { version = "0.23.1", path = "nex-core" } -nex-datalink = { version = "0.23.1", path = "nex-datalink" } -nex-packet = { version = "0.23.1", path = "nex-packet" } -nex-sys = { version = "0.23.1", path = "nex-sys" } -nex-socket = { version = "0.23.1", path = "nex-socket" } +nex-core = { version = "0.23.2", path = "nex-core" } +nex-datalink = { version = "0.23.2", path = "nex-datalink" } +nex-packet = { version = "0.23.2", path = "nex-packet" } +nex-sys = { version = "0.23.2", path = "nex-sys" } +nex-socket = { version = "0.23.2", path = "nex-socket" } serde = { version = "1" } libc = "0.2" netdev = { version = "0.38" }