From 14e18948d04dc9c595d3db50672eff4bb92cc81b Mon Sep 17 00:00:00 2001 From: David Craven Date: Tue, 28 Dec 2021 16:17:43 +0100 Subject: [PATCH 1/3] Add missing reexport. --- rtnetlink/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rtnetlink/src/lib.rs b/rtnetlink/src/lib.rs index ba184514..2cc95794 100644 --- a/rtnetlink/src/lib.rs +++ b/rtnetlink/src/lib.rs @@ -40,6 +40,7 @@ pub mod constants; pub use netlink_packet_route as packet; pub mod proto { pub use netlink_proto::{Connection, ConnectionHandle, Error, ErrorKind}; + pub use netlink_proto::packet::NetlinkMessage; } pub use netlink_proto::sys; From 69f5fa7d451b11050f90a99daa6a3da80e675637 Mon Sep 17 00:00:00 2001 From: David Craven Date: Tue, 28 Dec 2021 17:20:46 +0100 Subject: [PATCH 2/3] Add another missing reexport. --- rtnetlink/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtnetlink/src/lib.rs b/rtnetlink/src/lib.rs index 2cc95794..1bf7d7c0 100644 --- a/rtnetlink/src/lib.rs +++ b/rtnetlink/src/lib.rs @@ -40,7 +40,7 @@ pub mod constants; pub use netlink_packet_route as packet; pub mod proto { pub use netlink_proto::{Connection, ConnectionHandle, Error, ErrorKind}; - pub use netlink_proto::packet::NetlinkMessage; + pub use netlink_proto::packet::{NetlinkMessage, NetlinkPayload}; } pub use netlink_proto::sys; From 4724586609f68fda4210a79ac1e26b9cc34b6ec1 Mon Sep 17 00:00:00 2001 From: David Craven Date: Wed, 29 Dec 2021 13:22:57 +0100 Subject: [PATCH 3/3] Run rustfmt. --- rtnetlink/src/lib.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rtnetlink/src/lib.rs b/rtnetlink/src/lib.rs index 1bf7d7c0..08bab3b7 100644 --- a/rtnetlink/src/lib.rs +++ b/rtnetlink/src/lib.rs @@ -39,8 +39,13 @@ pub mod constants; pub use netlink_packet_route as packet; pub mod proto { - pub use netlink_proto::{Connection, ConnectionHandle, Error, ErrorKind}; - pub use netlink_proto::packet::{NetlinkMessage, NetlinkPayload}; + pub use netlink_proto::{ + packet::{NetlinkMessage, NetlinkPayload}, + Connection, + ConnectionHandle, + Error, + ErrorKind, + }; } pub use netlink_proto::sys;