| Crates.io | wifi_scanner |
| lib.rs | wifi_scanner |
| version | 0.5.1 |
| created_at | 2024-09-18 15:22:53.102667+00 |
| updated_at | 2024-09-18 15:22:53.102667+00 |
| description | List WiFi hotspots in your area. A fork of wifiscanner. |
| homepage | |
| repository | https://github.com/brayo-pip/wifiscanner |
| max_upload_size | |
| id | 1379370 |
| size | 53,995 |
If you have a local clone you will need to update your default branch from master to main. The easiest way to do this is to delete the clone and recreate it.
Alternatively type the following commands (thanks Scott):
git checkout master
$ git branch -m master main
$ git fetch
$ git branch --unset-upstream
$ git branch -u origin/main
$ git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
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.
This crate is on crates.io and can be
used by adding wifiscanner to the dependencies in your project's Cargo.toml.
[dependencies]
wifiscanner = "0.5.*"
and this to your crate root:
extern crate wifiscanner;
use wifiscanner;
println!("{:?}", wifiscanner::scan());
Alternatively if you've cloned the Git repo, you can run the above example
using: cargo run --example scan.
see CONTRIBUTING.md
wifiscanner would not be possible without the following folks:
@alopatindev, @bizzu, @bash, @cristicbz, @lpmi-13, @brianjaustin
Copyright 2019 Mark Sta Ana.
see LICENSE