Jesse Braham ac07f3c460
Document the features of the remaining packages (#1143)
* Document features for `esp-riscv-rt` package

* Document features for `esp-hal-smartled`

* Document features for `esp-hal-procmacros`
2024-02-06 07:12:05 -08:00

62 lines
1.6 KiB
TOML

[package]
name = "esp-hal-procmacros"
version = "0.8.0"
edition = "2021"
rust-version = "1.67.0"
description = "Procedural macros for ESP-HAL"
repository = "https://github.com/esp-rs/esp-hal"
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
features = ["esp32c3", "embassy", "interrupt", "ram"]
[lib]
proc-macro = true
[dependencies]
darling = "0.20.3"
document-features = "0.2.7"
litrs = "0.4.1"
object = { version = "0.32.1", optional = true }
proc-macro-crate = "2.0.1"
proc-macro-error = "1.0.4"
proc-macro2 = "1.0.70"
quote = "1.0.33"
syn = { version = "2.0.40", features = ["extra-traits", "full"] }
[features]
## Provide a `#[main]` procmacro to mark the entry point for Embassy applications.
embassy = []
## Provide enum dispatch helpers.
enum-dispatch = []
## Provide an `#[interrupt]` procmacro for defining interrupt service routines.
interrupt = []
## Provide a `#[ram]` procmacro to place functions in RAM instead of flash.
ram = []
## Indicates the target devices has RTC slow memory available.
rtc_slow = []
#! ### Chip Support Feature Flags
## Target the ESP32.
esp32 = []
## Target the ESP32-C2.
esp32c2 = []
## Target the ESP32-C3.
esp32c3 = []
## Target the ESP32-C6.
esp32c6 = ["dep:object"]
## Target the ESP32-C6's low-power core.
esp32c6-lp = []
## Target the ESP32-H2.
esp32h2 = []
## Target the ESP32-P4.
esp32p4 = []
## Target the ESP32-S2.
esp32s2 = ["dep:object"]
## Target the ESP32-S2's ultra-low-power core.
esp32s2-ulp = []
## Target the ESP32-S3.
esp32s3 = ["dep:object"]
## Target the ESP32-S3's ultra-low-power core.
esp32s3-ulp = []