[package]
edition = "2024"
name = "lsofrs"
version = "4.7.1"
authors = ["Jacob Menke"]
build = false
exclude = [
"screenshots/",
"*.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "lsofrs"
description = "Modern, high-performance lsof implementation in Rust"
readme = "README.md"
keywords = [
"lsof",
"process",
"files",
"sockets",
"diagnostics",
]
categories = [
"command-line-utilities",
"os",
]
license = "MIT"
repository = "https://github.com/MenkeTechnologies/lsofrs"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
name = "lsofrs"
path = "src/lib.rs"
[[bin]]
name = "lsf"
path = "src/main.rs"
[[bin]]
name = "lsofrs"
path = "src/main.rs"
[[test]]
name = "cli_combinations"
path = "tests/cli_combinations.rs"
[[test]]
name = "color_output"
path = "tests/color_output.rs"
[[test]]
name = "dispatch_contracts"
path = "tests/dispatch_contracts.rs"
[[test]]
name = "filters_and_paths"
path = "tests/filters_and_paths.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "json_and_csv_contracts"
path = "tests/json_and_csv_contracts.rs"
[[test]]
name = "json_shape"
path = "tests/json_shape.rs"
[[test]]
name = "json_wrappers"
path = "tests/json_wrappers.rs"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.crossterm]
version = "0.28"
[dependencies.dirs]
version = "5"
[dependencies.libc]
version = "0.2"
[dependencies.nix]
version = "0.29"
features = [
"signal",
"term",
"ioctl",
"user",
"fs",
"net",
"hostname",
]
[dependencies.ratatui]
version = "0.30"
[dependencies.rayon]
version = "1"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.toml]
version = "0.8"
[dependencies.users]
version = "0.11"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true