[package]
edition = "2021"
rust-version = "1.85.0"
name = "lsport"
version = "0.2.10"
authors = ["lsport Contributors"]
build = false
exclude = [
".github/",
".pre-commit-config.yaml",
"scripts/",
"tests/",
"*.md",
"!README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A TUI for managing local and remote ports via SSH"
homepage = "https://github.com/subediparas5/lsport"
documentation = "https://github.com/subediparas5/lsport#readme"
readme = "README.md"
keywords = [
"cli",
"tui",
"port",
"process",
"network",
]
categories = [
"command-line-utilities",
"development-tools",
"network-programming",
]
license = "MIT"
repository = "https://github.com/subediparas5/lsport"
[package.metadata.deb]
maintainer = "Paras Subedi <subediparas5@gmail.com>"
copyright = "2024-2026, Paras Subedi"
license-file = [
"LICENSE",
"0",
]
extended-description = """
A fast, interactive TUI for managing local and remote ports via SSH.
Identify processes using ports and kill them with a keystroke.
Supports local and remote (SSH) monitoring."""
section = "utils"
priority = "optional"
assets = [[
"target/release/lsport",
"usr/bin/",
"755",
]]
[[bin]]
name = "lsport"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.4"
features = ["derive"]
[dependencies.crossterm]
version = "0.28"
[dependencies.dirs-next]
version = "2.0"
[dependencies.listeners]
version = "0.3"
[dependencies.openssl]
version = "0.10"
features = ["vendored"]
[dependencies.ratatui]
version = "0.28"
[dependencies.regex]
version = "1.10"
[dependencies.ssh2]
version = "0.9"
[dependencies.sysinfo]
version = "0.31"
[dev-dependencies]
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.dev]
opt-level = 0
debug = 2
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.release-with-debug]
debug = 2
inherits = "release"
strip = false