wifi_scan 0.5.1

List WiFi hotspots in your area. Fork of booyaa/wifiscanner.
Documentation

wifi_scan

CI Crates docs.rs dependency status

Intro

A crate to list WiFi hotspots in your area.

As of v0.5.x now supports macOS, Linux and Windows. :tada:

Inspired by Maurice Svay's node-wifiscanner

Tests shameless pilfered from Christian Kuster's node-wifi-scanner

Full documentation can be found here.

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.5.*"

and this to your crate root:

extern crate wifi_scan;

Example

use wifi_scan;
println!("{:?}", wifi_scan::scan());

Alternatively if you've cloned the Git repo, you can run the above example using: cargo run --example scan.

Changelog

  • 0.5.1 - crates.io metadata update
  • 0.5.0 - add window support (props to @brianjaustin)
  • 0.4.0 - replace iwlist with iw (props to @alopatindev)
  • 0.3.6 - crates.io metadata update
  • 0.3.5 - remove hardcoded path for iwlist (props to @alopatindev)
  • 0.3.4 - initial stable release

How to contribute

see CONTRIBUTING.md

Contributors

wifi_scan would not be possible without the following folks:

@alopatindev, @bizzu, @bash, @cristicbz, @lpmi-13, @brianjaustin

Copyright

Copyright 2019 Mark Sta Ana.
Forked and maintained by simon0302010.

Copyright 2025 simon0302010.

see LICENSE