[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.183"
[dependencies.thiserror]
version = "2.0"
[[example]]
name = "demo"
path = "examples/demo.rs"
[features]
serde = ["dep:serde"]
[lib]
name = "network_interface"
path = "src/lib.rs"
[package]
authors = ["Esteban Borai <estebanborai@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["web-programming", "network-programming"]
description = "Retrieve system's Network Interfaces on Linux, FreeBSD, macOS and Windows on a standarized manner"
edition = "2018"
homepage = "https://github.com/EstebanBorai/network-interface"
keywords = ["network", "interfaces", "ip", "web", "network"]
license = "MIT OR Apache-2.0"
name = "network-interface"
readme = "README.md"
repository = "https://github.com/EstebanBorai/network-interface"
version = "2.0.4"
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies.libc]
version = "0.2.101"
[target.'cfg(any(target_os = "ios", target_os = "macos", target_os = "tvos", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "illumos"))'.dependencies.libc]
version = "0.2.101"
[target.'cfg(target_family = "unix")'.build-dependencies.cc]
version = "1.0.73"
[target.'cfg(target_os = "windows")'.dependencies.libc]
version = "0.2.101"
[target.'cfg(target_os = "windows")'.dependencies.winapi]
features = ["ws2def", "ws2ipdef", "netioapi", "iphlpapi", "iptypes", "ntdef", "winerror"]
version = "0.3"