From 40e1f25207faa7636f41f7b98a0c4d609c51497d Mon Sep 17 00:00:00 2001 From: shellrow Date: Wed, 9 Jul 2025 23:45:51 +0900 Subject: [PATCH 1/2] Bump version to 0.21.0 --- Cargo.toml | 12 ++++++------ README.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 66623d4..c725253 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,16 +10,16 @@ members = [ ] [workspace.package] -version = "0.20.0" +version = "0.21.0" edition = "2021" authors = ["shellrow "] [workspace.dependencies] -nex-core = { version = "0.20.0", path = "nex-core" } -nex-datalink = { version = "0.20.0", path = "nex-datalink" } -nex-packet = { version = "0.20.0", path = "nex-packet" } -nex-sys = { version = "0.20.0", path = "nex-sys" } -nex-socket = { version = "0.20.0", path = "nex-socket" } +nex-core = { version = "0.21.0", path = "nex-core" } +nex-datalink = { version = "0.21.0", path = "nex-datalink" } +nex-packet = { version = "0.21.0", path = "nex-packet" } +nex-sys = { version = "0.21.0", path = "nex-sys" } +nex-socket = { version = "0.21.0", path = "nex-socket" } serde = { version = "1" } libc = "0.2" netdev = { version = "0.36" } diff --git a/README.md b/README.md index 741a5e7..65ce938 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.20" +nex = "0.21" ``` ## Using Specific Sub-crates From d033dc732d0a99e9d936822d4751d48a407bd1cb Mon Sep 17 00:00:00 2001 From: shellrow Date: Wed, 9 Jul 2025 23:50:16 +0900 Subject: [PATCH 2/2] Update FlowControlPacket doc --- nex-packet/src/flowcontrol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nex-packet/src/flowcontrol.rs b/nex-packet/src/flowcontrol.rs index cb99868..1df265a 100644 --- a/nex-packet/src/flowcontrol.rs +++ b/nex-packet/src/flowcontrol.rs @@ -47,7 +47,7 @@ impl fmt::Display for FlowControlOpcode { /// Represents an Ethernet Flow Control packet defined by IEEE 802.3x. /// -/// [EtherTypes::FlowControl](crate::ethernet::EtherTypes::FlowControl) ethertype (0x8808). +/// [EtherType::FlowControl](crate::ethernet::EtherType::FlowControl) ethertype (0x8808). pub struct FlowControlPacket { pub command: FlowControlOpcode, pub quanta: u16be,