diff --git a/precompiles/utils/Cargo.toml b/precompiles/utils/Cargo.toml index 60ad69b0..6be1724c 100644 --- a/precompiles/utils/Cargo.toml +++ b/precompiles/utils/Cargo.toml @@ -34,6 +34,8 @@ pallet-evm = { workspace = true } # Polkadot / XCM xcm = { workspace = true } +assert_matches = { workspace = true } + [dev-dependencies] hex-literal = { workspace = true } diff --git a/precompiles/utils/src/lib.rs b/precompiles/utils/src/lib.rs index b71c043f..f36412a2 100644 --- a/precompiles/utils/src/lib.rs +++ b/precompiles/utils/src/lib.rs @@ -21,7 +21,6 @@ // along with Utils. If not, see . #![cfg_attr(not(feature = "std"), no_std)] -#![feature(assert_matches)] extern crate alloc; diff --git a/precompiles/utils/src/testing.rs b/precompiles/utils/src/testing.rs index 9df3da90..0f5f55ec 100644 --- a/precompiles/utils/src/testing.rs +++ b/precompiles/utils/src/testing.rs @@ -20,7 +20,7 @@ // You should have received a copy of the GNU General Public License // along with Utils. If not, see . use super::*; -use core::assert_matches::assert_matches; +use assert_matches::assert_matches; use fp_evm::{ ExitReason, ExitSucceed, PrecompileOutput, PrecompileResult, PrecompileSet, Transfer, };