We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c7ecfb commit 71fc02fCopy full SHA for 71fc02f
Cargo.toml
@@ -7,14 +7,14 @@ license = "MIT OR Apache-2.0"
7
edition = "2021"
8
repository = "https://github.com/rust-embedded-community/menu"
9
readme = "README.md"
10
-rust-version = "1.81.0"
11
12
[dependencies]
13
embedded-io = "0.6.1"
14
noline = { version = "0.5.0", optional = true }
15
16
[features]
17
default = ["echo"]
+error-in-core = [] # requires rust 1.81.0
18
echo = []
19
20
[dev-dependencies]
src/lib.rs
@@ -133,6 +133,7 @@ impl core::fmt::Display for Error {
133
}
134
135
136
+#[cfg(feature = "error-in-core")]
137
impl core::error::Error for Error {}
138
139
/// Looks for the named parameter in the parameter list of the item, then
0 commit comments