Skip to content

Commit cba9a96

Browse files
committed
Removed core-error feature.
MSRV now high enough that we don't need it
1 parent ce18a41 commit cba9a96

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog] and this project adheres to [Semantic
1010

1111
- Updated to `defmt` 1.0.1, `embedded-hal-bus` 0.3.0, `env_logger` 0.11.8, `heapless` 0.9.1, and `hex-literal` 1.0.0.
1212
- Raised the minimum supported Rust version to 1.87.0.
13+
- Removed `core-error` feature as MSRV is now above 1.81
1314

1415
## [Version 0.9.0] - 2025-06-08
1516

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ sha2 = "0.10"
3333
default = ["log"]
3434
defmt-log = ["dep:defmt"]
3535
log = ["dep:log"]
36-
core-error = []
36+

src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@
6868
//! * `defmt-log`: By turning off the default features and enabling the
6969
//! `defmt-log` feature you can configure this crate to log messages over defmt
7070
//! instead.
71-
//! * `core-error`: Enables implementations of `core::error::Error` for all error
72-
//! types. This raises the Minimum Supported Rust Version to 1.81.
7371
//!
7472
//! You cannot enable both the `log` feature and the `defmt-log` feature.
7573
@@ -316,7 +314,6 @@ where
316314
}
317315
}
318316

319-
#[cfg(feature = "core-error")]
320317
impl<E> core::error::Error for Error<E> where E: core::fmt::Debug + core::fmt::Display {}
321318

322319
/// A handle to a volume.

src/sdcard/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ impl core::fmt::Display for Error {
648648
}
649649
}
650650

651-
#[cfg(feature = "core-error")]
652651
impl core::error::Error for Error {}
653652

654653
/// The different types of card we support.

0 commit comments

Comments
 (0)