Skip to content

Commit ecbb6d1

Browse files
committed
Use netlink-packet-core 0.8.0
Signed-off-by: Gris Ge <[email protected]>
1 parent 7adac03 commit ecbb6d1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["Corentin Henry <[email protected]>"]
33
name = "netlink-proto"
44
version = "0.11.5"
5-
edition = "2018"
5+
edition = "2021"
66
rust-version = "1.75"
77

88
homepage = "https://github.com/rust-netlink/netlink-proto"
@@ -16,7 +16,7 @@ description = "async netlink protocol"
1616
bytes = "1.0"
1717
log = "0.4.8"
1818
futures = "0.3"
19-
netlink-packet-core = "0.7.0"
19+
netlink-packet-core = "0.8.0"
2020
netlink-sys = { default-features = false, version = "0.8.4" }
2121
thiserror = "2"
2222

@@ -28,7 +28,7 @@ smol_socket = ["netlink-sys/smol_socket"]
2828
[dev-dependencies]
2929
env_logger = "0.8.2"
3030
tokio = { version = "1.0.1", default-features = false, features = ["macros", "rt-multi-thread", "time"] }
31-
netlink-packet-route = { version = "0.18.1" }
31+
netlink-packet-route = { version = "0.25.0" }
3232
netlink-packet-audit = { version = "0.5.0" }
3333
async-std = {version = "1.9.0", features = ["attributes"]}
3434

src/protocol/protocol.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use std::{
66
};
77

88
use netlink_packet_core::{
9-
constants::*, NetlinkDeserializable, NetlinkMessage, NetlinkPayload,
10-
NetlinkSerializable,
9+
NetlinkDeserializable, NetlinkMessage, NetlinkPayload, NetlinkSerializable,
10+
NLM_F_ACK, NLM_F_ECHO, NLM_F_MULTIPART, NLM_F_REQUEST,
1111
};
1212

1313
use super::Request;

0 commit comments

Comments
 (0)