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 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,