corewlan 0.2.0

Safe Rust bindings for Apple's CoreWLAN framework — inspect Wi-Fi interfaces, mutable configurations, event delegates, and preferred network state on macOS
Documentation
1
2
3
4
5
6
7
8
use corewlan::Configuration;

#[test]
fn configuration_new_and_clone_are_equal() {
    let configuration = Configuration::new().expect("configuration init should succeed");
    let cloned = Configuration::from_configuration(&configuration).expect("configuration copy should succeed");
    assert_eq!(configuration, cloned);
}