[[bin]]
name = "pargs"
path = "src/bin/pargs.rs"
[[bin]]
name = "penv"
path = "src/bin/penv.rs"
[[bin]]
name = "pfiles"
path = "src/bin/pfiles.rs"
[[bin]]
name = "ptree"
path = "src/bin/ptree.rs"
[dependencies.clap]
features = ["cargo"]
version = "4.5"
[dependencies.nix]
features = ["event", "fs", "process", "socket"]
version = "0.30"
[[example]]
name = "epoll"
path = "examples/epoll.rs"
[[example]]
name = "netlink"
path = "examples/netlink.rs"
[lib]
name = "ptools"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools::debugging"]
description = "Utilities for inspecting Linux processes"
edition = "2021"
homepage = "https://github.com/basil/ptools"
keywords = ["linux", "process", "procfs", "debugging", "cli"]
license = "Apache-2.0"
name = "ptools"
readme = "README.md"
repository = "https://github.com/basil/ptools"
version = "0.2.1"
[package.metadata.deb]
assets = [["target/release/pargs", "usr/bin/", "755"], ["target/release/penv", "usr/bin/", "755"], ["target/release/pfiles", "usr/bin/", "755"], ["target/release/ptree", "usr/bin/", "755"]]
copyright = "2025 Basil Crow"
extended-description = "A collection of utilities for inspecting the state of processes, modeled after the tools by the same name which exist on Solaris/illumos."
maintainer = "Basil Crow"
section = "debug"
separate-debug-symbols = true
[profile.release]
debug = 2
lto = true
panic = "abort"
[[test]]
name = "epoll_test"
path = "tests/epoll_test.rs"
[[test]]
name = "netlink_test"
path = "tests/netlink_test.rs"