forked from little-dude/netlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (30 loc) · 1.11 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
[package]
name = "rtnetlink"
version = "0.9.1"
authors = ["Corentin Henry <[email protected]>"]
edition = "2018"
homepage = "https://github.com/little-dude/netlink"
keywords = ["netlink", "ip", "linux"]
license = "MIT"
readme = "../README.md"
repository = "https://github.com/little-dude/netlink"
description = "manipulate linux networking resources via netlink"
[features]
test_as_root = []
default = ["tokio_socket"]
tokio_socket = ["netlink-proto/tokio_socket", "tokio"]
smol_socket = ["netlink-proto/smol_socket", "async-global-executor"]
[dependencies]
futures = "0.3.11"
log = "0.4.8"
thiserror = "1"
netlink-packet-route = "0.11"
netlink-proto = { default-features = false, version = "0.9" }
nix = { version = "0.24.1" , default-features = false, features = ["fs", "mount", "sched", "signal"] }
tokio = { version = "1.0.1", features = ["rt"], optional = true}
async-global-executor = { version = "2.0.2", optional = true }
[dev-dependencies]
env_logger = "0.8.2"
ipnetwork = "0.18.0"
tokio = { version = "1.0.1", features = ["macros", "rt", "rt-multi-thread"] }
async-std = { version = "1.9.0", features = ["attributes"]}