diff --git a/framez/Cargo.toml b/framez/Cargo.toml index 9f756df..f6201b3 100644 --- a/framez/Cargo.toml +++ b/framez/Cargo.toml @@ -19,14 +19,14 @@ pretty-hex-fmt = [] char-fmt = [] [dependencies] -embedded-io-async = { version = "0.6.1", default-features = false } +embedded-io-async = { version = "0.7.0", default-features = false } futures = { version = "0.3.31", default-features = false } log = { version = "0.4.22", default-features = false, optional = true } tracing = { version = "0.1.40", default-features = false, optional = true } defmt = { version = "1.0.1", default-features = false, optional = true } [dev-dependencies] -embedded-io-adapters = { version = "0.6.1", default-features = false, features = [ +embedded-io-adapters = { version = "0.7.0", default-features = false, features = [ "tokio-1", ] } tokio = { version = "1", features = ["full"] } diff --git a/framez/src/mock.rs b/framez/src/mock.rs index 0d5287f..910b332 100644 --- a/framez/src/mock.rs +++ b/framez/src/mock.rs @@ -21,4 +21,7 @@ impl Write for Noop { async fn write(&mut self, buf: &[u8]) -> Result { Ok(buf.len()) } + async fn flush(&mut self) -> Result<(), Self::Error> { + Ok(()) + } }