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 37/week @ 2024-11-16 15/week @ 2024-11-23 84/week @ 2024-11-30 161/week @ 2024-12-07 110/week @ 2024-12-14 8/week @ 2024-12-21 16/week @ 2024-12-28 47/week @ 2025-01-04 69/week @ 2025-01-11 40/week @ 2025-01-18 112/week @ 2025-01-25 105/week @ 2025-02-01 249/week @ 2025-02-08 143/week @ 2025-02-15 104/week @ 2025-02-22 104/week @ 2025-03-01

612 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