# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "wl-nl80211" version = "0.2.0" authors = ["Gris Ge "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Linux kernel wireless(802.11) netlink Library" homepage = "https://github.com/rust-netlink/wl-nl80211" readme = "README.md" keywords = ["network"] categories = [ "network-programming", "os", ] license = "MIT" repository = "https://github.com/rust-netlink/wl-nl80211" [lib] name = "wl_nl80211" crate-type = ["lib"] path = "src/lib.rs" [[example]] name = "dump_nl80211_iface" path = "examples/dump_nl80211_iface.rs" [[example]] name = "dump_nl80211_station" path = "examples/dump_nl80211_station.rs" [[example]] name = "dump_nl80211_wiphy" path = "examples/dump_nl80211_wiphy.rs" [dependencies.anyhow] version = "1.0.44" [dependencies.async-std] version = "1.9.0" optional = true [dependencies.bitflags] version = "2" [dependencies.byteorder] version = "1.4.3" [dependencies.futures] version = "0.3.17" [dependencies.genetlink] version = "0.2.5" default-features = false [dependencies.log] version = "0.4.14" [dependencies.netlink-packet-core] version = "0.7.0" [dependencies.netlink-packet-generic] version = "0.3.3" [dependencies.netlink-packet-utils] version = "0.5.2" [dependencies.netlink-proto] version = "0.11.2" default-features = false [dependencies.netlink-sys] version = "0.8.4" [dependencies.thiserror] version = "1.0.29" [dependencies.tokio] version = "1.0.1" features = ["rt"] optional = true [dev-dependencies.env_logger] version = "0.9.0" [dev-dependencies.tokio] version = "1.11.0" features = [ "macros", "rt", "rt-multi-thread", ] [features] default = ["tokio_socket"] smol_socket = [ "netlink-proto/smol_socket", "async-std", ] tokio_socket = [ "netlink-proto/tokio_socket", "tokio", ]