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

Download history 47/week @ 2024-07-21 60/week @ 2024-07-28 46/week @ 2024-08-04 81/week @ 2024-08-11 38/week @ 2024-08-18 37/week @ 2024-08-25 34/week @ 2024-09-01 56/week @ 2024-09-08 58/week @ 2024-09-15 80/week @ 2024-09-22 129/week @ 2024-09-29 116/week @ 2024-10-06 32/week @ 2024-10-13 76/week @ 2024-10-20 41/week @ 2024-10-27 58/week @ 2024-11-03

217 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