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

#664 in Embedded development

Download history 8/week @ 2024-01-29 9/week @ 2024-02-05 17/week @ 2024-02-12 3/week @ 2024-02-19 59/week @ 2024-02-26 9/week @ 2024-03-04

88 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