esp-hal/esp-ieee802154/Cargo.toml
Björn Quentin 41fed590c2
Requires unstable feature (#3772)
* Add `requires-unstable` feature

* Docs

* CHANGELOG.md

* Advise for library authors
2025-07-08 11:40:06 +00:00

56 lines
1.9 KiB
TOML

[package]
name = "esp-ieee802154"
version = "0.7.0"
edition = "2024"
rust-version = "1.88.0"
description = "Low-level IEEE 802.15.4 driver for the ESP32-C6 and ESP32-H2"
documentation = "https://docs.espressif.com/projects/rust/esp-ieee802154/latest/"
keywords = ["embedded", "esp32", "espressif", "ieee802154", "wpan"]
categories = ["embedded", "network-programming", "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]
cfg-if = "1.0.0"
critical-section = "1.2.0"
esp-hal = { version = "1.0.0-beta.1", path = "../esp-hal", features = ["requires-unstable"] }
# ⚠️ Unstable dependencies that are part of the public API
heapless = "0.8.0"
# Unstable dependencies that are not (strictly) part of the public API
byte = "0.2.7"
document-features = "0.2.11"
esp-config = { version = "0.4.0", path = "../esp-config" }
esp-wifi-sys = "0.7.1"
ieee802154 = "0.6.1"
# Logging interfaces, they are mutually exclusive so they need to be behind separate features.
defmt = { version = "1.0.1", optional = true }
log-04 = { package = "log", version = "0.4.27", optional = true }
[build-dependencies]
esp-config = { version = "0.4.0", path = "../esp-config" }
[features]
esp32c6 = ["esp-hal/esp32c6", "esp-wifi-sys/esp32c6"]
esp32h2 = ["esp-hal/esp32h2", "esp-wifi-sys/esp32h2"]
## Enables log messages from the esp-wifi blobs.
sys-logs = ["esp-wifi-sys/sys-logs"]
#! ### Logging Feature Flags
## Enable logging output using version 0.4 of the `log` crate.
log-04 = ["dep:log-04", "esp-wifi-sys/log"]
## Enable logging output using `defmt` and implement `defmt::Format` on certain types.
defmt = ["dep:defmt", "esp-wifi-sys/defmt"]