[package] name = "esp-storage" version = "0.4.0" edition = "2021" rust-version = "1.76.0" description = "Implementation of embedded-storage traits to access unencrypted ESP32 flash" keywords = ["embedded-storage", "esp32", "espressif", "no-std"] categories = ["embedded", "hardware-support", "no-std"] repository = "https://github.com/esp-rs/esp-storage" license = "MIT OR Apache-2.0" [package.metadata.docs.rs] default-target = "riscv32imac-unknown-none-elf" features = ["esp32c6"] [dependencies] embedded-storage = "0.3.1" critical-section = { version = "1.2.0", optional = true } [build-dependencies] esp-build = { version = "0.1.0", path = "../esp-build" } [features] default = ["critical-section", "storage"] critical-section = ["dep:critical-section"] # ReadStorage/Storage traits storage = [] # ReadNorFlash/NorFlash traits nor-flash = [] # Bytewise read emulation bytewise-read = [] esp32c2 = [] esp32c3 = [] esp32c6 = [] esp32h2 = [] esp32 = [] esp32s2 = [] esp32s3 = [] # Enable flash emulation to run tests emulation = [] # this feature is reserved for very specific use-cases - usually you don't want to use this! low-level = []