Merge pull request #35 from dignifiedquire/feat-android-deps

feat: update android deps
main
shellrow 1 year ago committed by GitHub
commit dc22e34dce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Cargo.toml
  2. 2
      src/interface/android.rs

@ -15,11 +15,11 @@ libc = "0.2"
[target.'cfg(target_os = "android")'.dependencies]
# DL Open
dlopen2 = { version = "0.4", default-features = false }
dlopen2 = { version = "0.5", default-features = false }
once_cell = "1"
# netlink
netlink-packet-core = "0.5"
netlink-packet-route = "0.15"
netlink-packet-core = "0.7"
netlink-packet-route = "0.17"
netlink-sys = "0.8"
[target.'cfg(windows)'.dependencies]

@ -243,7 +243,7 @@ pub mod netlink {
self.size = 0;
}
match packet.payload {
NetlinkPayload::Done => {
NetlinkPayload::Done(_) => {
self.done = true;
return None;
}

Loading…
Cancel
Save