# 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 = "2024"
name = "portview"
version = "1.5.0"
build = "build.rs"
exclude = [
    "demo.gif",
    "*.mp4",
    "aur/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A diagnostic-first port viewer. See what's on your ports, then act on it."
readme = "README.md"
keywords = [
    "port",
    "process",
    "diagnostic",
    "network",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/mapika/portview"

[[bin]]
name = "portview"
path = "src/main.rs"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.clap_complete]
version = "4"

[dependencies.crossterm]
version = "0.29"

[dependencies.ratatui]
version = "0.30"

[build-dependencies.clap]
version = "4"
features = ["derive"]

[build-dependencies.clap_complete]
version = "4"

[build-dependencies.clap_mangen]
version = "0.2"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_NetworkManagement_IpHelper",
    "Win32_Networking_WinSock",
    "Win32_System_Threading",
    "Win32_System_ProcessStatus",
    "Win32_System_Console",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_Security",
    "Win32_System_SystemInformation",
]

[profile.release]
opt-level = "z"
lto = true
strip = true
