Skip to content

Commit ce207e4

Browse files
hack3riccathay4t
authored andcommitted
Remove tokio from dependencies
It is only used in tests and examples; move `time` feature to dev-dependencies; `io-util` feature is unused.
1 parent 4fce1b7 commit ce207e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ description = "async netlink protocol"
1515
bytes = "1.0"
1616
log = "0.4.8"
1717
futures = "0.3"
18-
tokio = { version = "1.0", default-features = false, features = ["io-util","time"] }
1918
netlink-packet-core = "0.7.0"
2019
netlink-sys = { default-features = false, version = "0.8.4" }
2120
thiserror = "2"
@@ -27,7 +26,7 @@ smol_socket = ["netlink-sys/smol_socket"]
2726

2827
[dev-dependencies]
2928
env_logger = "0.8.2"
30-
tokio = { version = "1.0.1", default-features = false, features = ["macros", "rt-multi-thread"] }
29+
tokio = { version = "1.0.1", default-features = false, features = ["macros", "rt-multi-thread", "time"] }
3130
netlink-packet-route = { version = "0.18.1" }
3231
netlink-packet-audit = { version = "0.5.0" }
3332
async-std = {version = "1.9.0", features = ["attributes"]}

0 commit comments

Comments
 (0)