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

#46 in #unix-socket

Download history 2/week @ 2024-06-18 28/week @ 2024-06-25 33/week @ 2024-07-02 16/week @ 2024-07-09 16/week @ 2024-07-16 62/week @ 2024-07-23 48/week @ 2024-07-30 57/week @ 2024-08-06 77/week @ 2024-08-13 38/week @ 2024-08-20 33/week @ 2024-08-27 51/week @ 2024-09-03 41/week @ 2024-09-10 59/week @ 2024-09-17 99/week @ 2024-09-24 110/week @ 2024-10-01

330 downloads per month

MIT license

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