hisi-rf 0.1.0-alpha.82

Chip-selecting radio facade for HiSilicon embedded Rust
# 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"
rust-version = "1.91"
name = "hisi-rf"
version = "0.1.0-alpha.82"
authors = ["sanchuanhehe"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chip-selecting radio facade for HiSilicon embedded Rust"
readme = "README.md"
keywords = [
    "embedded",
    "no-std",
    "wifi",
    "radio",
    "hisilicon",
]
categories = [
    "embedded",
    "no-std",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/hispark-rs/hisi-rf"

[features]
chip-ws63 = ["dep:hisi-rf-ws63"]
default = []
incremental-backend-experiment = [
    "hisi-rf-core/incremental-backend-experiment",
    "hisi-rf-ws63?/incremental-backend-experiment",
]
incremental-embassy-wait = [
    "incremental-backend-experiment",
    "hisi-rf-ws63?/incremental-embassy-wait",
]
profile-wifi-wpa2-smoltcp = [
    "wifi",
    "smoltcp",
    "wpa2-personal",
]
profile-wifi-wpa2-softap = [
    "smoltcp",
    "hisi-rf-ws63/upstream-authenticator-wpa2",
]
profile-wifi-wpa3-smoltcp = [
    "wifi",
    "smoltcp",
    "wpa3-personal",
]
profile-wifi-wpa3-softap = [
    "smoltcp",
    "hisi-rf-ws63/upstream-authenticator-wpa3",
]
smoltcp = [
    "hisi-rf-core/smoltcp",
    "hisi-rf-ws63?/smoltcp",
]
wifi = ["hisi-rf-ws63?/wifi"]
wpa2-personal = [
    "wifi",
    "hisi-rf-ws63?/wpa2-personal",
]
wpa3-personal = [
    "wifi",
    "hisi-rf-ws63?/wpa3-personal",
]
ws63-data-path-diagnostics = [
    "chip-ws63",
    "hisi-rf-ws63/data-path-diag",
]
ws63-station-pm-diagnostics = [
    "ws63-data-path-diagnostics",
    "hisi-rf-ws63/station-pm-diag",
]

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

[[example]]
name = "ws63_plain_firmware"
path = "examples/ws63_plain_firmware.rs"

[[example]]
name = "ws63_resource_report"
path = "examples/ws63_resource_report.rs"

[dependencies.hisi-rf-core]
version = "=0.1.0-alpha.21"

[dependencies.hisi-rf-ws63]
version = "=0.1.0-alpha.70"
optional = true
default-features = false

[target.'cfg(target_arch = "riscv32")'.dev-dependencies.hisi-hal]
version = "0.7.0-alpha.6"
features = [
    "chip-ws63",
    "unstable",
]

[target.'cfg(target_arch = "riscv32")'.dev-dependencies.hisi-riscv-rt]
version = "0.5.7"
features = [
    "chip-ws63",
    "bundled-memory-x",
    "boot-header",
    "ws63-bgle-32k",
    "ws63-radio-main-stack-32k",
]
default-features = false

[target.'cfg(target_arch = "riscv32")'.dev-dependencies.hisi-rtos]
version = "=0.1.0-alpha.19"

[lints.clippy]
undocumented_unsafe_blocks = "deny"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"