wpactrl

Crates.iowpactrl
lib.rswpactrl
version0.5.1
sourcesrc
created_at2017-04-30 17:45:25.674374
updated_at2022-04-08 02:50:48.842069
descriptionwpa_supplicant control interface library
homepage
repositoryhttps://github.com/spease/wpa-ctrl-rs
max_upload_size
id12565
size17,593
(spease)

documentation

README

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

Commit count: 52

cargo fmt