[dependencies.fnv]
version = "1.0.7"
[dependencies.futures]
version = "0.3.19"
[dependencies.ipnet]
version = "2.3.1"
[dependencies.log]
version = "0.4.14"
[dev-dependencies.env_logger]
version = "0.10.0"
[dev-dependencies.smol]
version = "2"
[dev-dependencies.tokio]
features = ["rt", "macros"]
version = "1.21.2"
[[example]]
name = "if_watch"
path = "examples/if_watch.rs"
required-features = ["smol"]
[features]
smol = ["dep:smol", "rtnetlink/smol_socket"]
tokio = ["dep:tokio", "rtnetlink/tokio_socket"]
[lib]
crate-type = ["cdylib", "lib"]
name = "if_watch"
path = "src/lib.rs"
[package]
authors = ["David Craven <david@craven.ch>", "Parity Technologies Limited <admin@parity.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "crossplatform asynchronous network watcher"
edition = "2021"
keywords = ["asynchronous", "routing"]
license = "MIT OR Apache-2.0"
name = "if-watch"
readme = "README.md"
repository = "https://github.com/mxinden/if-watch"
version = "3.2.1"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-foundation]
version = "0.9.2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.if-addrs]
version = "0.10.0"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.smol]
optional = true
version = "2"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.system-configuration]
version = "0.6.0"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.tokio]
features = ["rt"]
optional = true
version = "1.21.2"
[target.'cfg(not(any(target_os = "ios", target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies.async-io]
version = "2.0.0"
[target.'cfg(not(any(target_os = "ios", target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies.if-addrs]
version = "0.10.0"
[target.'cfg(target_os = "linux")'.dependencies.netlink-packet-core]
default-features = false
version = "0.7.0"
[target.'cfg(target_os = "linux")'.dependencies.netlink-packet-route]
default-features = false
version = "0.17.0"
[target.'cfg(target_os = "linux")'.dependencies.netlink-proto]
default-features = false
version = "0.11.0"
[target.'cfg(target_os = "linux")'.dependencies.netlink-sys]
default-features = false
version = "0.8.0"
[target.'cfg(target_os = "linux")'.dependencies.rtnetlink]
default-features = false
version = "0.13.0"
[target.'cfg(target_os = "windows")'.dependencies.if-addrs]
version = "0.10.0"
[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Win32_NetworkManagement_IpHelper", "Win32_Foundation", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock"]
version = ">=0.51.0,<=0.53"