Skip to content

Commit

Permalink
Use latest rust-netlink crates
Browse files Browse the repository at this point in the history
Signed-off-by: Gris Ge <fge@redhat.com>
  • Loading branch information
cathay4t committed Jan 29, 2023
1 parent 514c6c4 commit a5f55b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ futures = "0.3.17"
log = "0.4.14"
thiserror = "1.0.29"
tokio = { version = "1.0.1", features = ["rt"], optional = true}
genetlink = { default-features = false, version = "0.2.1" }
netlink-packet-core = { version = "0.4.2" }
netlink-packet-generic = { version = "0.3.1" }
netlink-packet-utils = { version = "0.5.1" }
netlink-proto = { default-features = false, version = "0.10" }
netlink-sys = { version = "0.8.3" }
genetlink = { default-features = false, version = "0.2.4" }
netlink-packet-core = { version = "0.5.0" }
netlink-packet-generic = { version = "0.3.2" }
netlink-packet-utils = { version = "0.5.2" }
netlink-proto = { default-features = false, version = "0.11" }
netlink-sys = { version = "0.8.4" }

[dev-dependencies]
tokio = { version = "1.11.0", features = ["macros", "rt", "rt-multi-thread"] }
Expand Down
3 changes: 1 addition & 2 deletions src/message.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: MIT

use anyhow::Context;
use netlink_packet_core::DecodeError;
use netlink_packet_generic::{GenlFamily, GenlHeader};
use netlink_packet_utils::{
nla::NlasIterator, Emitable, Parseable, ParseableParametrized,
nla::NlasIterator, DecodeError, Emitable, Parseable, ParseableParametrized,
};

use crate::attr::Nl80211Attr;
Expand Down

0 comments on commit a5f55b5

Please sign in to comment.