# 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 = "default-net" version = "0.22.0" authors = ["shellrow "] description = "Cross-platform library for network interface and gateway" readme = "README.md" keywords = ["network"] categories = ["network-programming"] license = "MIT" repository = "https://github.com/shellrow/default-net" [[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.libc] version = "0.2" [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.serde_json] version = "1.0" [features] serde = ["dep:serde"] [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.system-configuration] version = "0.5.1" [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(windows)".dependencies.memalloc] version = "0.1.0" [target."cfg(windows)".dependencies.windows] version = "0.48.0" features = [ "Win32_Foundation", "Win32_NetworkManagement_IpHelper", "Win32_Networking_WinSock", "Win32_NetworkManagement_Ndis", ]