# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "foa"
version = "0.1.0"
authors = ["Frostie314159 <frostie.neuenhausen@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An experimental IEEE 802.11 (WLAN) stack for rust on the ESP32. "
homepage = "https://esp32-open-mac.be/"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/esp32-open-mac/FoA"

[features]
arc_buffers = []
defmt = [
    "dep:defmt",
    "defmt-or-log/defmt",
    "esp-wifi-hal/defmt",
]
esp32 = [
    "esp-hal/esp32",
    "esp-wifi-hal/esp32",
]
esp32s2 = [
    "esp-hal/esp32s2",
    "esp-wifi-hal/esp32s2",
]
log = [
    "defmt-or-log/log",
    "esp-wifi-hal/log",
]

[lib]
name = "foa"
path = "src/lib.rs"

[dependencies.critical-section]
version = "1.2.0"

[dependencies.defmt]
version = "1.0.1"
optional = true

[dependencies.defmt-or-log]
version = "0.2.2"
default-features = false

[dependencies.embassy-futures]
version = "0.1.2"

[dependencies.embassy-sync]
version = "0.7.2"

[dependencies.embassy-time]
version = "0.5.0"

[dependencies.esp-config]
version = "0.6.0"

[dependencies.esp-hal]
version = "1.0.0"

[dependencies.esp-wifi-hal]
version = "0.1.6"

[dependencies.heapless]
version = "0.9.1"

[dependencies.ieee80211]
version = "0.5.9"

[dependencies.portable-atomic]
version = "1.11.1"

[dependencies.static_cell]
version = "2.1.1"

[build-dependencies.esp-config]
version = "0.6.0"
features = ["build"]
