-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
46 lines (41 loc) · 1.29 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
# The crate name `nl80211` is occupied
name = "wl-nl80211"
version = "0.2.0"
authors = ["Gris Ge <fge@redhat.com>"]
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]
env_logger = "0.9.0"
[dev-dependencies.tokio]
version = "1.11.0"
features = ["macros", "rt", "rt-multi-thread", "time"]