[build-dependencies.embuild]
version = "0.33"
[dependencies.atomic-waker]
default-features = false
version = "1.1.1"
[dependencies.critical-section]
features = ["restore-state-none"]
optional = true
version = "1.1.1"
[dependencies.embassy-sync]
version = "0.6"
[dependencies.embedded-can]
version = "0.4.1"
[dependencies.embedded-hal]
version = "1"
[dependencies.embedded-hal-0-2]
features = ["unproven"]
package = "embedded-hal"
version = "0.2.7"
[dependencies.embedded-hal-async]
version = "1"
[dependencies.embedded-hal-nb]
version = "1"
[dependencies.embedded-io]
version = "0.6"
[dependencies.embedded-io-async]
version = "0.6"
[dependencies.enumset]
default-features = false
version = "1.1.4"
[dependencies.esp-idf-sys]
default-features = false
version = "0.36"
[dependencies.heapless]
version = "0.8"
[dependencies.log]
default-features = false
version = "0.4"
[dependencies.nb]
version = "1"
[dependencies.num_enum]
default-features = false
version = "0.7"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.display-interface-spi]
version = "0.4.1"
[dev-dependencies.embedded-graphics]
version = "0.7.1"
[dev-dependencies.esp-idf-sys]
features = ["binstart"]
version = "0.36"
[dev-dependencies.mipidsi]
version = "0.5.0"
[[example]]
name = "adc"
path = "examples/adc.rs"
[[example]]
name = "adc_oneshot"
path = "examples/adc_oneshot.rs"
[[example]]
name = "blinky"
path = "examples/blinky.rs"
[[example]]
name = "blinky_async"
path = "examples/blinky_async.rs"
[[example]]
name = "button"
path = "examples/button.rs"
[[example]]
name = "button_async"
path = "examples/button_async.rs"
[[example]]
name = "button_interrupt"
path = "examples/button_interrupt.rs"
[[example]]
name = "i2c_master_slave"
path = "examples/i2c_master_slave.rs"
[[example]]
name = "i2c_ssd1306"
path = "examples/i2c_ssd1306.rs"
[[example]]
name = "ledc_simple"
path = "examples/ledc_simple.rs"
[[example]]
name = "ledc_threads"
path = "examples/ledc_threads.rs"
[[example]]
name = "pcnt_rotary_encoder"
path = "examples/pcnt_rotary_encoder.rs"
[[example]]
name = "reset_reason"
path = "examples/reset_reason.rs"
[[example]]
name = "rmt_morse_code"
path = "examples/rmt_morse_code.rs"
[[example]]
name = "rmt_musical_buzzer"
path = "examples/rmt_musical_buzzer.rs"
[[example]]
name = "rmt_neopixel"
path = "examples/rmt_neopixel.rs"
[[example]]
name = "rmt_onewire_temperature"
path = "examples/rmt_onewire_temperature.rs"
[[example]]
name = "rmt_transceiver"
path = "examples/rmt_transceiver.rs"
[[example]]
name = "spi_loopback"
path = "examples/spi_loopback.rs"
[[example]]
name = "spi_loopback_async"
path = "examples/spi_loopback_async.rs"
[[example]]
name = "spi_st7789"
path = "examples/spi_st7789.rs"
[[example]]
name = "temperature_sensor"
path = "examples/temperature_sensor.rs"
[[example]]
name = "timer_async"
path = "examples/timer_async.rs"
[[example]]
name = "timer_notify"
path = "examples/timer_notify.rs"
[[example]]
name = "uart_loopback"
path = "examples/uart_loopback.rs"
[[example]]
name = "uart_loopback_async"
path = "examples/uart_loopback_async.rs"
[features]
adc-oneshot-legacy = []
alloc = []
alloc_handler = ["esp-idf-sys/alloc_handler"]
binstart = ["esp-idf-sys/binstart"]
default = ["std", "binstart"]
embassy-sync = []
experimental = []
libstart = ["esp-idf-sys/libstart"]
native = ["esp-idf-sys/native"]
nightly = []
panic_handler = ["esp-idf-sys/panic_handler"]
pio = ["esp-idf-sys/pio"]
rmt-legacy = []
std = ["alloc", "esp-idf-sys/std"]
wake-from-isr = []
[lib]
harness = false
name = "esp_idf_hal"
path = "src/lib.rs"
[package]
authors = ["sapir <yasapir@gmail.com>", "Ivan Markov <ivan.markov@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["embedded", "hardware-support"]
description = "A Hardware abstraction layer for Espressif's ESP family of microcontrollers based on the ESP-IDF framework."
documentation = "https://docs.esp-rs.org/esp-idf-hal/"
edition = "2021"
keywords = ["hal", "idf", "esp-idf", "esp32"]
license = "MIT OR Apache-2.0"
links = "esp_idf_hal"
name = "esp-idf-hal"
readme = "README.md"
repository = "https://github.com/esp-rs/esp-idf-hal"
resolver = "2"
rust-version = "1.75"
version = "0.45.1"