[build-dependencies.android-build]
version = "0.1.3"
[dependencies]
[[example]]
name = "watch"
path = "examples/watch.rs"
[lib]
name = "netwatcher"
path = "src/lib.rs"
[package]
authors = ["Thomas Karpiniec <tom.karpiniec@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["network-programming"]
description = "List network interfaces and watch for changes efficiently"
edition = "2021"
exclude = ["android/*"]
keywords = ["interfaces", "ip", "adapter", "address", "netmask"]
license = "MIT"
name = "netwatcher"
readme = "README.md"
repository = "https://github.com/thombles/netwatcher"
version = "0.4.1"
[target.'cfg(any(target_vendor = "apple", target_os = "linux", target_os = "android"))'.dependencies.nix]
features = ["net"]
version = "0.29.0"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21.1"
[target.'cfg(target_os = "android")'.dependencies.ndk-context]
version = "0.1.1"
[target."cfg(windows)".dependencies.windows]
features = ["Win32_NetworkManagement_IpHelper", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock"]
version = "0.56.0"
[[test]]
name = "android_api_test"
path = "tests/android_api_test.rs"
[[test]]
name = "api_test"
path = "tests/api_test.rs"