diff options
| author | Mehmet Ali Anil <[email protected]> | 2023-03-06 22:08:47 +0100 |
|---|---|---|
| committer | Mehmet Ali Anil <[email protected]> | 2023-03-06 22:16:36 +0100 |
| commit | bc0cb43307c2a46330ce253505203dbc607bcc6c (patch) | |
| tree | fa0ddab9184b802efa9e6313c90847ad167184c5 /embassy-boot/boot | |
| parent | 2209bef4f22bf77d9d52cda0a0ea40485cc2747a (diff) | |
Bump embedded-storage-async to 0.4
Diffstat (limited to 'embassy-boot/boot')
| -rw-r--r-- | embassy-boot/boot/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-boot/boot/src/lib.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/embassy-boot/boot/Cargo.toml b/embassy-boot/boot/Cargo.toml index 0b0c77b1e..3312c2f9f 100644 --- a/embassy-boot/boot/Cargo.toml +++ b/embassy-boot/boot/Cargo.toml | |||
| @@ -28,7 +28,7 @@ log = { version = "0.4", optional = true } | |||
| 28 | ed25519-dalek = { version = "1.0.1", default_features = false, features = ["u32_backend"], optional = true } | 28 | ed25519-dalek = { version = "1.0.1", default_features = false, features = ["u32_backend"], optional = true } |
| 29 | embassy-sync = { version = "0.1.0", path = "../../embassy-sync" } | 29 | embassy-sync = { version = "0.1.0", path = "../../embassy-sync" } |
| 30 | embedded-storage = "0.3.0" | 30 | embedded-storage = "0.3.0" |
| 31 | embedded-storage-async = "0.3.0" | 31 | embedded-storage-async = "0.4.0" |
| 32 | salty = { git = "https://github.com/ycrypto/salty.git", rev = "a9f17911a5024698406b75c0fac56ab5ccf6a8c7", optional = true } | 32 | salty = { git = "https://github.com/ycrypto/salty.git", rev = "a9f17911a5024698406b75c0fac56ab5ccf6a8c7", optional = true } |
| 33 | signature = { version = "1.6.4", default-features = false } | 33 | signature = { version = "1.6.4", default-features = false } |
| 34 | 34 | ||
diff --git a/embassy-boot/boot/src/lib.rs b/embassy-boot/boot/src/lib.rs index be254e9d7..b5dad5046 100644 --- a/embassy-boot/boot/src/lib.rs +++ b/embassy-boot/boot/src/lib.rs | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | mod fmt; | 5 | mod fmt; |
| 6 | 6 | ||
| 7 | use embedded_storage::nor_flash::{ErrorType, NorFlash, NorFlashError, NorFlashErrorKind, ReadNorFlash}; | 7 | use embedded_storage::nor_flash::{ErrorType, NorFlash, NorFlashError, NorFlashErrorKind, ReadNorFlash}; |
| 8 | use embedded_storage_async::nor_flash::AsyncNorFlash; | 8 | use embedded_storage_async::nor_flash::NorFlash as AsyncNorFlash; |
| 9 | 9 | ||
| 10 | const BOOT_MAGIC: u8 = 0xD0; | 10 | const BOOT_MAGIC: u8 = 0xD0; |
| 11 | const SWAP_MAGIC: u8 = 0xF0; | 11 | const SWAP_MAGIC: u8 = 0xF0; |
| @@ -1199,7 +1199,7 @@ mod tests { | |||
| 1199 | use core::future::Future; | 1199 | use core::future::Future; |
| 1200 | 1200 | ||
| 1201 | use embedded_storage::nor_flash::ErrorType; | 1201 | use embedded_storage::nor_flash::ErrorType; |
| 1202 | use embedded_storage_async::nor_flash::AsyncReadNorFlash; | 1202 | use embedded_storage_async::nor_flash::ReadNorFlash as AsyncReadNorFlash; |
| 1203 | use futures::executor::block_on; | 1203 | use futures::executor::block_on; |
| 1204 | 1204 | ||
| 1205 | use super::*; | 1205 | use super::*; |
