mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 12:50:53 +00:00
52 lines
1.7 KiB
TOML
52 lines
1.7 KiB
TOML
[package]
|
|
name = "esp-hal-embassy"
|
|
version = "0.3.0"
|
|
edition = "2021"
|
|
rust-version = "1.79.0"
|
|
description = "Embassy support for esp-hal"
|
|
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"]
|
|
|
|
[dependencies]
|
|
critical-section = "1.1.3"
|
|
defmt = { version = "0.3.8", optional = true }
|
|
document-features = "0.2.10"
|
|
embassy-executor = { version = "0.6.0", optional = true }
|
|
embassy-time-driver = { version = "0.1.0", features = [ "tick-hz-1_000_000" ] }
|
|
esp-hal = { version = "0.20.0", path = "../esp-hal" }
|
|
log = { version = "0.4.22", optional = true }
|
|
macros = { version = "0.13.0", features = ["embassy"], package = "esp-hal-procmacros", path = "../esp-hal-procmacros" }
|
|
portable-atomic = "1.9.0"
|
|
static_cell = "2.1.0"
|
|
|
|
[build-dependencies]
|
|
esp-build = { version = "0.1.0", path = "../esp-build" }
|
|
esp-metadata = { version = "0.3.0", path = "../esp-metadata" }
|
|
|
|
[features]
|
|
default = ["executors"]
|
|
|
|
esp32 = ["esp-hal/esp32"]
|
|
esp32c2 = ["esp-hal/esp32c2"]
|
|
esp32c3 = ["esp-hal/esp32c3"]
|
|
esp32c6 = ["esp-hal/esp32c6"]
|
|
esp32h2 = ["esp-hal/esp32h2"]
|
|
esp32s2 = ["esp-hal/esp32s2"]
|
|
esp32s3 = ["esp-hal/esp32s3"]
|
|
|
|
## Implement `defmt::Format` on certain types.
|
|
defmt = ["dep:defmt", "embassy-executor?/defmt", "esp-hal/defmt"]
|
|
## Enable logging via the log crate
|
|
log = ["dep:log"]
|
|
## Provide `Executor` and `InterruptExecutor`
|
|
executors = ["dep:embassy-executor", "esp-hal/__esp_hal_embassy"]
|
|
## Use the executor-integrated `embassy-time` timer queue.
|
|
integrated-timers = ["embassy-executor?/integrated-timers"]
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = "allow"
|