From 01939c09c6e0ae017e4fc0a1f95d95be5f7fe618 Mon Sep 17 00:00:00 2001 From: wcampbell Date: Sat, 1 Mar 2025 12:53:36 -0500 Subject: [PATCH] Always implemnt core::Error for DekuError With the MSRV bump, it makes sense to remove the feature and allow this by default --- Cargo.toml | 1 - src/error.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7d56d9a8..52ff3fd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,6 @@ std = ["deku_derive/std", "bitvec?/std", "alloc", "no_std_io/std"] alloc = ["bitvec?/alloc"] logging = ["deku_derive/logging", "log"] no-assert-string = ["deku_derive/no-assert-string"] -error_in_core = [] bits = ["dep:bitvec", "deku_derive/bits"] [dependencies] diff --git a/src/error.rs b/src/error.rs index d7739b89..b385a726 100644 --- a/src/error.rs +++ b/src/error.rs @@ -113,5 +113,4 @@ impl From for std::io::Error { } } -#[cfg(feature = "error_in_core")] impl core::error::Error for DekuError {}