Trim deps a bit more

pull/1/head
Alessandro Decina 4 years ago
parent f1da541234
commit 873691d050

@ -5,9 +5,9 @@ authors = ["Alessandro Decina <alessandro.d@gmail.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
libc = { version = "0.2", features = ["extra_traits"] } libc = { version = "0.2" }
thiserror = "1" thiserror = "1"
object = "0.23" object = { version = "0.23", default-features = false, features = ["std", "read_core", "elf"] }
bytes = "1" bytes = "1"
lazy_static = "1" lazy_static = "1"
parking_lot = { version = "0.11.1", features = ["send_guard"] } parking_lot = { version = "0.11.1", features = ["send_guard"] }

@ -209,10 +209,9 @@ impl NetlinkSocket {
} }
} }
#[derive(Debug)]
struct NetlinkMessage { struct NetlinkMessage {
header: nlmsghdr, header: nlmsghdr,
data: Vec<u8>, _data: Vec<u8>,
error: Option<nlmsgerr>, error: Option<nlmsgerr>,
} }
@ -246,7 +245,7 @@ impl NetlinkMessage {
Ok(NetlinkMessage { Ok(NetlinkMessage {
header, header,
data, _data: data,
error, error,
}) })
} }

Loading…
Cancel
Save