# 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 = "netsock" version = "0.2.0" authors = ["shellrow "] description = "Cross-platform library for network sockets information" readme = "README.md" keywords = [ "network", "socket", ] categories = [ "network-programming", "os", ] license = "MIT" repository = "https://github.com/shellrow/netsock" [[example]] name = "get_netstat" path = "examples/get_netstat.rs" [[example]] name = "serialize" path = "examples/serialize.rs" required-features = ["serde"] [dependencies.bitflags] version = "2.5" [dependencies.libc] version = "0.2" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.serde_json] version = "1.0" [features] serde = ["dep:serde"] [target."cfg(target_os = \"macos\")".dependencies.byteorder] version = "1.5" [target."cfg(target_os = \"macos\")".dependencies.num-derive] version = "0.4" [target."cfg(target_os = \"macos\")".dependencies.num-traits] version = "0.2" [target."cfg(target_os = \"windows\")".dependencies.windows] version = "0.54.0" features = [ "Win32_Foundation", "Win32_System_Diagnostics_ToolHelp", ]