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::NetworkProfile;

#[test]
fn network_profile_new_and_clone_are_equal() {
    let profile = NetworkProfile::new().expect("network profile init should succeed");
    let cloned = NetworkProfile::from_network_profile(&profile).expect("network profile copy should succeed");
    assert_eq!(profile, cloned);
}