# 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-addrs" version = "0.13.3" authors = [ "MaidSafe Developers ", "Messense Lv ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Return interface IP addresses on Posix and windows systems" readme = "README.md" license = "MIT OR BSD-3-Clause" repository = "https://github.com/messense/if-addrs" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Z", "build-std", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = [ "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "aarch64-apple-ios", "aarch64-apple-watchos", "aarch64-apple-tvos", "aarch64-apple-visionos", ] [lib] name = "if_addrs" path = "src/lib.rs" [[example]] name = "detect_interface_changes" path = "examples/detect_interface_changes.rs" [[example]] name = "list_interfaces" path = "examples/list_interfaces.rs" [features] link-local = [] [target.'cfg(not(target_os = "windows"))'.dependencies.libc] version = "0.2" [target.'cfg(target_os = "windows")'.dependencies.windows-sys] version = "0.52.0" features = [ "Win32_Foundation", "Win32_System_IO", "Win32_System_Memory", "Win32_System_Threading", "Win32_Networking_WinSock", "Win32_NetworkManagement_IpHelper", "Win32_NetworkManagement_Ndis", ]