Skip to content

Commit

Permalink
Always implemnt core::Error for DekuError
Browse files Browse the repository at this point in the history
With the MSRV bump, it makes sense to remove the feature and allow
this by default
  • Loading branch information
wcampbell0x2a committed Mar 1, 2025
1 parent 4ec322a commit 01939c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 0 additions & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,4 @@ impl From<DekuError> for std::io::Error {
}
}

#[cfg(feature = "error_in_core")]
impl core::error::Error for DekuError {}

0 comments on commit 01939c0

Please sign in to comment.