From 09ecc3db18d7f78781f94cf4703530349da950ec Mon Sep 17 00:00:00 2001 From: ArcticLampyrid Date: Wed, 1 May 2024 17:01:00 +0800 Subject: [PATCH] fix: bind to interface not working on Windows Refs: https://github.com/EstebanBorai/network-interface/pull/55 --- Cargo.lock | 4 ++-- core/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6cdd732..2b2f9e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2015,9 +2015,9 @@ dependencies = [ [[package]] name = "network-interface" -version = "1.1.4" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" +checksum = "433419f898328beca4f2c6c73a1b52540658d92b0a99f0269330457e0fd998d5" dependencies = [ "cc", "libc", diff --git a/core/Cargo.toml b/core/Cargo.toml index 15ea887..a2e3599 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -12,7 +12,7 @@ chrono = "0.4" clap = {version = "4.5", features = ["derive"]} log = "0.4" log4rs = "1.3" -network-interface = "1" +network-interface = "2" njupt_wifi_login_configuration = {path = "../configuration"} once_cell = "1" regex = "1"