forked from rust-netlink/netlink-proto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (36 loc) · 1.16 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]
authors = ["Corentin Henry <[email protected]>"]
name = "netlink-proto"
version = "0.11.3"
edition = "2018"
homepage = "https://github.com/rust-netlink/netlink-proto"
keywords = ["netlink", "linux", "async"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/rust-netlink/netlink-proto"
description = "async netlink protocol"
[dependencies]
bytes = "1.0"
log = "0.4.8"
futures = "0.3"
tokio = { version = "1.0", default-features = false, features = ["io-util","time"] }
netlink-packet-core = "0.7.0"
netlink-sys = { default-features = false, version = "0.8.4" }
thiserror = "1.0.30"
[features]
default = ["tokio_socket"]
tokio_socket = ["netlink-sys/tokio_socket"]
smol_socket = ["netlink-sys/smol_socket"]
[dev-dependencies]
env_logger = "0.8.2"
tokio = { version = "1.0.1", default-features = false, features = ["macros", "rt-multi-thread"] }
netlink-packet-route = { version = "0.18.1" }
netlink-packet-audit = { version = "0.5.0" }
async-std = {version = "1.9.0", features = ["attributes"]}
[[example]]
name = "dump_links"
[[example]]
name = "dump_links_async"
required-features = ["tokio_socket"]
[[example]]
name = "audit_netlink_events"