9 unstable releases (4 breaking)
0.5.1 | Apr 8, 2022 |
---|---|
0.5.0 | Apr 8, 2022 |
0.4.0 | Dec 12, 2021 |
0.3.1 | Mar 1, 2018 |
0.1.0 | Apr 30, 2017 |
#55 in #unix-socket
217 downloads per month
17KB
289 lines
wpactrl
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)
Example
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
lib.rs
:
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)
Example
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.
Dependencies
~130KB