-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
43 lines (38 loc) · 1.15 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
[package]
name = "ethtool"
version = "0.2.5"
authors = ["Gris Ge <fge@redhat.com>"]
license = "MIT"
edition = "2018"
description = "Linux Ethtool Communication Library"
keywords = ["network"]
categories = ["network-programming", "os"]
readme = "README.md"
[lib]
name = "ethtool"
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}
byteorder = "1.4.3"
futures = "0.3.17"
log = "0.4.14"
genetlink = { default-features = false, version = "0.2.4"}
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" }
thiserror = "1.0.29"
tokio = { version = "1.0.1", features = ["rt"], optional = true}
[dev-dependencies]
tokio = { version = "1.11.0", features = ["macros", "rt", "rt-multi-thread"] }
env_logger = "0.9.0"
[[example]]
name = "dump_pause"
required-features = ["tokio_socket"]