embedded-storage icon indicating copy to clipboard operation
embedded-storage copied to clipboard

Request: Publish new version to crates.io with async storage traits

Open invinciblesmalltree opened this issue 3 months ago • 1 comments

Hi maintainers,

I'm working on an async version of the eeprom24x driver (eeprom24x-async) which depends on embedded-storage-async.

Current situation

The latest version of embedded-storage-async on crates.io is 0.4.1 (published 2 years ago), but the master branch has newer features including the ReadStorage and Storage traits that are essential for async operations.

Using the crates.io version results in compilation errors:

error[E0432]: unresolved import `embedded_storage_async::ReadStorage`
--> src/storage.rs:7:5
  |
7 | use embedded_storage_async::ReadStorage;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ReadStorage` in the root

Currently, I have to use the git dependency: embedded-storage-async = { git = "https://github.com/rust-embedded-community/embedded-storage", branch = "master" }

However, this prevents me from publishing my crate to crates.io, as crates.io doesn't allow git dependencies.

Request

Could you please publish a new version (e.g., 0.4.2 or 0.5.0) of embedded-storage-async to crates.io that includes the latest changes from the master branch?

This would help the embedded Rust async ecosystem and allow downstream crates to be published to crates.io.

Thank you for maintaining this important crate!

invinciblesmalltree avatar Oct 15 '25 19:10 invinciblesmalltree

It would need to be 0.5.0 and there would need to be an embedded-storage 0.4.0 release as well because there has been a breaking change to the Region trait.

pebender avatar Oct 16 '25 17:10 pebender