Expand description
A crate to list WiFi hotspots in your area.
As of v0.5.x macOS, Windows and Linux are supported. Note: Only macOS versions up to Ventura (13) are supported.
§Usage
This crate is on crates.io and can be
used by adding wifi_scan to the dependencies in your project’s Cargo.toml.
[dependencies]
wifi_scan = "0.6.*"§Example
use wifi_scan;
println!("{:?}", wifi_scan::scan());Alternatively if you’ve cloned the the Git repo, you can run the above example
using: cargo run --example scan.
Structs§
- Wifi
- Wifi struct used to return information about wifi hotspots. Shows security on Linux since version 0.6.0.
Enums§
Functions§
- scan
- Returns a list of WiFi hotspots in your area.
Uses
airporton macOS,netshon Windows.nl80211-rsandnetlink-rustcrates are being used on machines running Linux.