-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
39 lines (34 loc) · 1.12 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
[package]
name = "genetlink"
version = "0.2.5"
authors = ["Leo <[email protected]>"]
edition = "2018"
homepage = "https://github.com/rust-netlink/genetlink"
repository = "https://github.com/rust-netlink/genetlink"
keywords = ["netlink", "linux"]
license = "MIT"
readme = "README.md"
description = "communicate with generic netlink"
[features]
default = ["tokio_socket"]
tokio_socket = ["netlink-proto/tokio_socket", "tokio"]
smol_socket = ["netlink-proto/smol_socket","async-std"]
[dependencies]
futures = "0.3.16"
netlink-proto = { default-features = false, version = "0.11.2" }
netlink-packet-generic = { version = "0.3.3" }
netlink-packet-utils = { version = "0.5.2" }
netlink-packet-core = { version = "0.7.0" }
tokio = { version = "1.9.0", features = ["rt"], optional = true }
async-std = { version = "1.9.0", optional = true }
thiserror = "1.0.26"
log = "0.4"
[dev-dependencies]
anyhow = "1.0.42"
tokio = { version = "1.9.0", features = ["rt", "rt-multi-thread", "macros"] }
[[example]]
name = "list_genetlink_family"
required-features = ["tokio_socket"]
[[example]]
name = "dump_family_policy"
required-features = ["tokio_socket"]