diff --git a/dpdk_bindings/rust-toolchain b/dpdk_bindings/rust-toolchain deleted file mode 120000 index 9327ba403..000000000 --- a/dpdk_bindings/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -../rust-toolchain \ No newline at end of file diff --git a/examples/tcp-close/main.rs b/examples/tcp-close/main.rs index 7c11d64d7..0e3c408ba 100644 --- a/examples/tcp-close/main.rs +++ b/examples/tcp-close/main.rs @@ -2,8 +2,6 @@ // Licensed under the MIT license. #![deny(clippy::all)] -#![feature(extract_if)] -#![feature(hash_extract_if)] //====================================================================================================================== // Imports diff --git a/examples/tcp-echo/main.rs b/examples/tcp-echo/main.rs index 197820134..a40539c1a 100644 --- a/examples/tcp-echo/main.rs +++ b/examples/tcp-echo/main.rs @@ -2,8 +2,6 @@ // Licensed under the MIT license. #![deny(clippy::all)] -#![feature(extract_if)] -#![feature(hash_extract_if)] //====================================================================================================================== // Imports diff --git a/examples/tcp-wait/main.rs b/examples/tcp-wait/main.rs index 925e24892..bcad13115 100644 --- a/examples/tcp-wait/main.rs +++ b/examples/tcp-wait/main.rs @@ -2,8 +2,6 @@ // Licensed under the MIT license. #![deny(clippy::all)] -#![feature(extract_if)] -#![feature(hash_extract_if)] //====================================================================================================================== // Modules diff --git a/rust-toolchain b/rust-toolchain deleted file mode 100644 index 1d251aef9..000000000 --- a/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -nightly-2025-02-17 diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 000000000..90bc80f41 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly-2026-02-11" diff --git a/src/collections/async_queue.rs b/src/collections/async_queue.rs index be508093c..fc3ef95c1 100644 --- a/src/collections/async_queue.rs +++ b/src/collections/async_queue.rs @@ -93,12 +93,12 @@ impl AsyncQueue { } #[allow(unused)] - pub fn values(&self) -> Iter { + pub fn values(&self) -> Iter<'_, T> { self.queue.iter() } #[allow(unused)] - pub fn values_mut(&mut self) -> IterMut { + pub fn values_mut(&mut self) -> IterMut<'_, T> { self.queue.iter_mut() } diff --git a/src/lib.rs b/src/lib.rs index 2f6650f91..16573da28 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,6 @@ #![feature(test)] #![feature(allocator_api)] #![cfg_attr(target_os = "windows", feature(maybe_uninit_uninit_array))] -#![feature(hash_extract_if)] mod collections; pub mod inetstack; diff --git a/xdp_bindings/rust-toolchain b/xdp_bindings/rust-toolchain deleted file mode 120000 index 9327ba403..000000000 --- a/xdp_bindings/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -../rust-toolchain \ No newline at end of file