[package] name = "listeners" version = "0.2.1" edition = "2021" authors = ["Giuliano Bellini "] description = "Get processes listening on a TCP port in a cross-platform way" readme = "README.md" repository = "https://github.com/GyulyVGC/listeners" license = "MIT" keywords = ["tcp", "listen", "port", "process"] categories = ["network-programming"] include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG.md", "examples/**/*"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [target.'cfg(target_os = "windows")'.dependencies] windows = { version = "0.58.0", features = ["Win32_Foundation", "Win32_System_Diagnostics_ToolHelp"] } [target.'cfg(target_os = "macos")'.dependencies] byteorder = "1.5.0" [target.'cfg(target_os = "linux")'.dependencies] once_cell = "1.19.0" rustix = {version = "0.38.31", features = ["fs"]} #[target.'cfg(all(not(target_os = "linux"), not(target_os = "macos"), not(target_os = "windows")))'.dependencies] #bsd-kvm = "0.1.5" #sysctl = "0.5.5" [dev-dependencies] http-test-server = "2.1.1" serial_test = "3.1.1"