#embedded-storage #esp32 #no-std #espressif

no-std esp-storage

Implementation of embedded-storage traits to access unencrypted ESP32 flash

10 releases (breaking)

Uses new Rust 2024

0.8.1 Oct 30, 2025
0.7.0 Jul 16, 2025
0.5.0 Feb 24, 2025
0.4.0 Nov 20, 2024
0.1.0 Sep 26, 2022

#2351 in Embedded development

Download history 716/week @ 2025-10-18 704/week @ 2025-10-25 856/week @ 2025-11-01 554/week @ 2025-11-08 749/week @ 2025-11-15 899/week @ 2025-11-22 657/week @ 2025-11-29 920/week @ 2025-12-06 872/week @ 2025-12-13 497/week @ 2025-12-20 527/week @ 2025-12-27 856/week @ 2026-01-03 776/week @ 2026-01-10 737/week @ 2026-01-17 1269/week @ 2026-01-24 1221/week @ 2026-01-31

4,122 downloads per month
Used in 5 crates

MIT/Apache

1.5MB
29K SLoC

esp-storage

Crates.io docs.rs MSRV Crates.io Matrix

This implements embedded-storage traits to access unencrypted ESP32 flash.

Current support

ESP32, ESP32-C2, ESP32-C3, ESP32-C6, ESP32-H2, ESP32-S2 and ESP32-S3 are supported in esp-storage

Important

For ESP32 it is necessary to build with optimization level 2 or 3.

To make it work also for debug builds add this to your Cargo.toml

[profile.dev.package.esp-storage]
opt-level = 3

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile when using the latest stable Rust version at the time of the crate's release. It might compile with older versions, but that may change in any new release, including patches.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2–12MB
~241K SLoC