[package]
edition = "2024"
rust-version = "1.85"
name = "wifi-ctrl"
version = "0.3.0"
authors = ["Louis Thiery <thiery.louis@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tokio-based runtimes for communicating with hostapd and wpa-supplicant"
documentation = "https://docs.rs/wifi-ctrl"
readme = "README.md"
keywords = [
"hostapd",
"wpa-supplicant",
"wpa_supplicant",
"wpa-cli",
"wifi",
]
license = "Apache-2.0"
repository = "https://github.com/novalabsxyz/wifi-ctrl"
[lib]
name = "wifi_ctrl"
path = "src/lib.rs"
[[example]]
name = "wifi-ap"
path = "examples/wifi-ap.rs"
[[example]]
name = "wifi-sta"
path = "examples/wifi-sta.rs"
[dependencies.hex]
version = "0.4"
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1.30"
features = [
"net",
"sync",
"macros",
"time",
]
default-features = false
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.network-interface]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"io-std",
"io-util",
]
[dev-dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[lints.rust]
unsafe_code = "warn"
unused_qualifications = "warn"