| Crates.io | nl80211-rs |
| lib.rs | nl80211-rs |
| version | 0.1.1 |
| created_at | 2018-10-15 20:44:50.192547+00 |
| updated_at | 2025-10-28 13:45:47.375743+00 |
| description | nl80211 library in Rust |
| homepage | |
| repository | https://github.com/blueluna/nl80211-rs |
| max_upload_size | |
| id | 90820 |
| size | 234,120 |
Handling nl80211, IEEE 802.11 Netlink protocol, in Rust. Work in progress.
If run without arguments the example program will listen for nl80211 events. If a new scan event is received the scan results will be fetched.
$ cargo run --release --example nl80211
To run some example commands administrative access is needed, Set administrative capabilities like so,
sudo setcap cap_net_admin+ep ./target/release/examples/nl80211
Then it is possible to initiate a scan for example.
./target/release/examples/nl80211 scan
Rust 1.30.0 or later is needed.
Tested on following platforms,
Licensed under the MIT license.