[package]
name = "esp-wifi-hal"
version = "0.1.0-alpha.1"
authors = ["Frostie314159 <frostie.neuenhausen@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "An experimental driver for the Wi-Fi peripheral on ESP32-series chips."
homepage = "https://esp32-open-mac.be/"
repository = "https://github.com/esp32-open-mac/esp-wifi-hal"
[dependencies]
esp-wifi-sys = "0.7.1"
esp-hal = { version = "1.0.0-beta.0", features = ["unstable"] }
esp32 = { version = "0.36.0", optional = true, features = ["critical-section"] }
esp32s2 = { version = "0.27.0", optional = true, features = ["critical-section"] }
embassy-futures = "0.1.1"
embassy-sync = "0.6.2"
embassy-time = "0.4.0"
static_cell = { version = "2.1.0" }
macro-bits = "0.1.5"
portable-atomic = { version = "1.11.0", default-features = false }
cfg-if = "1.0.0"
defmt-or-log = { version = "0.2.1", default-features = false }
defmt = { version = "0.3.10", optional = true }
bitfield-struct = "0.10.1"
log = { version = "0.4.26", optional = true }
critical-section = "1.2.0"
[profile.dev]
opt-level = "s"
[profile.release]
codegen-units = 1
debug = 2
debug-assertions = false
incremental = false
lto = 'fat'
opt-level = 's'
overflow-checks = false
[features]
esp32 = ["dep:esp32", "esp-hal/esp32", "esp-wifi-sys/esp32"]
esp32s2 = ["dep:esp32s2", "esp-hal/esp32s2", "esp-wifi-sys/esp32s2", "portable-atomic/critical-section"]
defmt = ["dep:defmt", "defmt-or-log/defmt"]
log = ["dep:log", "defmt-or-log/log"]
critical_section = []