wifi_scan 0.7.2

A crate to list WiFi hotspots in your area. Fork of booyaa/wifiscanner with many improvements to make it future-proof.
Documentation
fn main() {
    #[cfg(target_os = "openbsd")]
    {
        cc::Build::new()
            .file("src/sys/openbsd/lswifi.c")
            .compile("lswifi");

        println!("cargo:rerun-if-changed=src/sys/openbsd/lswifi.c");
    }

    #[cfg(target_os = "freebsd")]
    {
        cc::Build::new()
            .file("src/sys/freebsd/lswifi.c")
            .compile("lswifi");

        println!("cargo:rustc-link-lib=80211");
        println!("cargo:rerun-if-changed=src/sys/freebsd/lswifi.c");
    }
}