esp-hal/esp-storage/Cargo.toml

63 lines
1.5 KiB
TOML

[package]
name = "esp-storage"
version = "0.6.0"
edition = "2024"
rust-version = "1.86.0"
description = "Implementation of embedded-storage traits to access unencrypted ESP32 flash"
documentation = "https://docs.espressif.com/projects/rust/esp-storage/latest/"
keywords = ["embedded-storage", "esp32", "espressif", "no-std"]
categories = ["embedded", "hardware-support", "no-std"]
repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
default-target = "riscv32imac-unknown-none-elf"
features = ["esp32c6"]
[lib]
bench = false
test = false
[dependencies]
embedded-storage = "0.3.1"
# Optional dependencies
critical-section = { version = "1.2.0", optional = true }
# Unstable dependencies that are not (strictly) part of the public API
document-features = "0.2.11"
[build-dependencies]
esp-metadata = { version = "0.7.0", path = "../esp-metadata" }
[features]
default = ["critical-section"]
## Place the flash operations in a critical section
critical-section = ["dep:critical-section"]
## Bytewise read emulation
bytewise-read = []
#! ### Chip selection
#! One of the following features must be enabled to select the target chip:
# The following trailing spaces ("## ") are important to display the feature names.
##
esp32c2 = []
##
esp32c3 = []
##
esp32c6 = []
##
esp32h2 = []
##
esp32 = []
##
esp32s2 = []
##
esp32s3 = []
## Used for testing on a host.
emulation = []