diff --git a/Cargo.lock b/Cargo.lock index 162caaab4..d47c11b2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -682,9 +682,11 @@ dependencies = [ [[package]] name = "menu" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce93c0d0e443b0e9f1a5c62801d3f07167882c504cf5104b9b76be61c8cc4ea" +version = "0.6.0" +source = "git+https://github.com/rust-embedded-community/menu.git?rev=ac34f7c#ac34f7ccb91a77cb3bc9b582c0515dad6d66714b" +dependencies = [ + "embedded-io", +] [[package]] name = "miniconf" diff --git a/serial-settings/Cargo.toml b/serial-settings/Cargo.toml index ebbe068d2..42f396ede 100644 --- a/serial-settings/Cargo.toml +++ b/serial-settings/Cargo.toml @@ -18,7 +18,7 @@ maintenance = { status = "actively-developed" } [dependencies] miniconf = { version = "0.13", features = ["json-core", "postcard"] } -menu = { version = "0.5", features = ["echo"] } +menu = { version = "0.6", features = ["echo"], git = "https://github.com/rust-embedded-community/menu.git", rev = "ac34f7c" } heapless = "0.8" embedded-io = "0.6" yafnv = "3.0" diff --git a/serial-settings/src/lib.rs b/serial-settings/src/lib.rs index bb6e51e89..e3c38250d 100644 --- a/serial-settings/src/lib.rs +++ b/serial-settings/src/lib.rs @@ -592,7 +592,7 @@ impl<'a, P: Platform, const Y: usize> Write for Interface<'a, P, Y> { // The Menu runner pub struct Runner<'a, P: Platform, const Y: usize>( - menu::Runner<'a, Interface<'a, P, Y>, P::Settings>, + menu::Runner<'a, Interface<'a, P, Y>, P::Settings, [u8]>, ); impl<'a, P: Platform, const Y: usize> Runner<'a, P, Y> {