[package] # The crate name `nl80211` is occupied name = "wl-nl80211" version = "0.2.0" authors = ["Gris Ge "] license = "MIT" edition = "2021" description = "Linux kernel wireless(802.11) netlink Library" homepage = "https://github.com/rust-netlink/wl-nl80211" repository = "https://github.com/rust-netlink/wl-nl80211" keywords = ["network"] categories = ["network-programming", "os"] readme = "README.md" [lib] name = "wl_nl80211" path = "src/lib.rs" crate-type = ["lib"] [features] default = ["tokio_socket"] tokio_socket = ["netlink-proto/tokio_socket", "tokio"] smol_socket = ["netlink-proto/smol_socket", "async-std"] [dependencies] anyhow = "1.0.44" async-std = { version = "1.9.0", optional = true} bitflags = "2" byteorder = "1.4.3" futures = "0.3.17" log = "0.4.14" thiserror = "1.0.29" tokio = { version = "1.0.1", features = ["rt"], optional = true} genetlink = { default-features = false, version = "0.2.5" } netlink-packet-core = { version = "0.7.0" } netlink-packet-generic = { version = "0.3.3" } netlink-packet-utils = { version = "0.5.2" } netlink-proto = { default-features = false, version = "0.11.2" } netlink-sys = { version = "0.8.4" } [dev-dependencies] tokio = { version = "1.11.0", features = ["macros", "rt", "rt-multi-thread"] } env_logger = "0.9.0"