feat: display network interface

This commit is contained in:
MystiPanda
2024-07-13 14:10:50 +08:00
parent 32212a46e2
commit 48f7c15035
8 changed files with 216 additions and 4 deletions

14
src-tauri/Cargo.lock generated
View File

@@ -803,6 +803,7 @@ dependencies = [
"log 0.4.22",
"log4rs",
"nanoid",
"network-interface",
"once_cell",
"open 5.2.0",
"parking_lot",
@@ -3243,6 +3244,19 @@ dependencies = [
"jni-sys",
]
[[package]]
name = "network-interface"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "433419f898328beca4f2c6c73a1b52540658d92b0a99f0269330457e0fd998d5"
dependencies = [
"cc",
"libc",
"serde",
"thiserror",
"winapi",
]
[[package]]
name = "new_debug_unreachable"
version = "1.0.6"