# 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 = "cyw43"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust driver for the CYW43439 WiFi chip, used in the Raspberry Pi Pico W."
documentation = "https://docs.embassy.dev/cyw43"
readme = "README.md"
keywords = [
    "embedded",
    "cyw43",
    "embassy-net",
    "embedded-hal-async",
    "wifi",
]
categories = [
    "embedded",
    "hardware-support",
    "no-std",
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/embassy-rs/embassy"

[[package.metadata.embassy.build]]
target = "thumbv6m-none-eabi"
features = []

[[package.metadata.embassy.build]]
target = "thumbv6m-none-eabi"
features = ["log"]

[[package.metadata.embassy.build]]
target = "thumbv6m-none-eabi"
features = ["defmt"]

[[package.metadata.embassy.build]]
target = "thumbv6m-none-eabi"
features = [
    "firmware-logs",
    "log",
]

[[package.metadata.embassy.build]]
target = "thumbv6m-none-eabi"
features = [
    "defmt",
    "firmware-logs",
]

[[package.metadata.embassy.build]]
target = "thumbv6m-none-eabi"
features = [
    "bluetooth",
    "firmware-logs",
    "log",
]

[[package.metadata.embassy.build]]
target = "thumbv6m-none-eabi"
features = [
    "bluetooth",
    "defmt",
    "firmware-logs",
]

[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/embassy/blob/cyw43-v$VERSION/cyw43/src/"
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/cyw43/src/"
target = "thumbv6m-none-eabi"
features = [
    "defmt",
    "firmware-logs",
]

[package.metadata.docs.rs]
features = [
    "defmt",
    "firmware-logs",
]

[features]
bluetooth = [
    "dep:bt-hci",
    "dep:embedded-io-async",
]
defmt = [
    "dep:defmt",
    "heapless/defmt-03",
    "embassy-time/defmt",
    "bt-hci?/defmt",
    "embedded-io-async?/defmt-03",
]
firmware-logs = []
log = ["dep:log"]

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

[dependencies.bt-hci]
version = "0.6.0"
optional = true

[dependencies.cortex-m]
version = "0.7.6"

[dependencies.cortex-m-rt]
version = "0.7.0"

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

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

[dependencies.embassy-net-driver-channel]
version = "0.3.2"

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

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

[dependencies.embedded-hal-1]
version = "1.0"
package = "embedded-hal"

[dependencies.embedded-io-async]
version = "0.6.0"
optional = true

[dependencies.futures]
version = "0.3.17"
features = [
    "async-await",
    "cfg-target-has-atomic",
    "unstable",
]
default-features = false

[dependencies.heapless]
version = "0.8.0"

[dependencies.log]
version = "0.4.17"
optional = true

[dependencies.num_enum]
version = "0.5.7"
default-features = false
