# 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 = "netdev" version = "0.31.0" authors = ["shellrow "] description = "Cross-platform library for network interface" readme = "README.md" keywords = ["network"] categories = ["network-programming"] license = "MIT" repository = "https://github.com/shellrow/netdev" [[example]] name = "list_interfaces" path = "examples/list_interfaces.rs" [[example]] name = "default_interface" path = "examples/default_interface.rs" [[example]] name = "default_gateway" path = "examples/default_gateway.rs" [[example]] name = "serialize" path = "examples/serialize.rs" required-features = ["serde"] [dependencies.ipnet] version = "2.10" [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.serde_json] version = "1.0" [features] serde = [ "dep:serde", "ipnet/serde", ] [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.system-configuration] version = "0.6" [target."cfg(target_os = \"android\")".dependencies.dlopen2] version = "0.5" default-features = false [target."cfg(target_os = \"android\")".dependencies.netlink-packet-core] version = "0.7" [target."cfg(target_os = \"android\")".dependencies.netlink-packet-route] version = "0.17" [target."cfg(target_os = \"android\")".dependencies.netlink-sys] version = "0.8" [target."cfg(target_os = \"android\")".dependencies.once_cell] version = "1" [target."cfg(unix)".dependencies.libc] version = "0.2" [target."cfg(windows)".dependencies.windows-sys] version = "0.52" features = [ "Win32_Foundation", "Win32_NetworkManagement_IpHelper", "Win32_Networking_WinSock", "Win32_NetworkManagement_Ndis", ]