# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "if-watch" version = "3.2.0" authors = [ "David Craven ", "Parity Technologies Limited ", ] description = "crossplatform asynchronous network watcher" readme = "README.md" keywords = [ "asynchronous", "routing", ] license = "MIT OR Apache-2.0" repository = "https://github.com/mxinden/if-watch" [lib] crate-type = [ "cdylib", "lib", ] [[example]] name = "if_watch" required-features = ["smol"] [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 = "1.2.5" [dev-dependencies.tokio] version = "1.21.2" features = [ "rt", "macros", ] [features] smol = [ "dep:smol", "rtnetlink/smol_socket", ] tokio = [ "dep:tokio", "rtnetlink/tokio_socket", ] [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] version = "1.2.5" optional = true [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.system-configuration] version = "0.5.0" [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.tokio] version = "1.21.2" features = ["rt"] optional = true [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.rtnetlink] version = "0.10.0" default-features = false [target."cfg(target_os = \"windows\")".dependencies.if-addrs] version = "0.10.0" [target."cfg(target_os = \"windows\")".dependencies.windows] version = "0.51.0" features = [ "Win32_NetworkManagement_IpHelper", "Win32_Foundation", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock", ]