| Crates.io | wpactrl |
| lib.rs | wpactrl |
| version | 0.5.1 |
| created_at | 2017-04-30 17:45:25.674374+00 |
| updated_at | 2022-04-08 02:50:48.842069+00 |
| description | wpa_supplicant control interface library |
| homepage | |
| repository | https://github.com/spease/wpa-ctrl-rs |
| max_upload_size | |
| id | 12565 |
| size | 17,593 |
A pure-Rust lowlevel library for controlling wpasupplicant remotely
Note that in order to connect to wpasupplicant, you may need elevated permissions (eg run as root)
let mut wpa = wpactrl::Client::builder().open().unwrap();
println!("{}", wpa.request("LIST_NETWORKS").unwrap());
The library currently only supports UNIX sockets, but additional connection methods (eg UDP or pipes) may be added in the future.
License: MIT