Files
procps/Cargo.toml
T
estodi e6261faad1 pmap: implemented rc options (#456)
* pmap: implemented rc options

* pmap: added tests for rc options

* fixed lint errors

* pmap: updated test_default_rc to run only in CI

* Update src/uu/pmap/src/pmap.rs

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* Update src/uu/pmap/src/pmap.rs

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-07-03 16:08:41 +02:00

158 lines
4.8 KiB
TOML

# procps (uutils)
# * see the repository LICENSE, README, and CONTRIBUTING files for more information
# spell-checker:ignore (libs) mangen
[workspace.package]
authors = ["uutils developers"]
categories = ["command-line-utilities"]
edition = "2021"
homepage = "https://github.com/uutils/procps"
keywords = ["procps", "uutils", "cross-platform", "cli", "utility"]
license = "MIT"
version = "0.0.1"
[package]
name = "procps"
description = "procps ~ implemented as universal (cross-platform) utils, written in Rust"
default-run = "procps"
repository = "https://github.com/uutils/procps"
readme = "README.md"
build = "build.rs"
authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
version.workspace = true
[features]
default = ["feat_common_core"]
uudoc = []
feat_common_core = [
"free",
"pgrep",
"pidof",
"pidwait",
"pkill",
"pmap",
"ps",
"pwdx",
"slabtop",
"snice",
"sysctl",
"tload",
"top",
"vmstat",
"w",
"watch",
]
[workspace.dependencies]
bytesize = "2.0.0"
chrono = { version = "0.4.38", default-features = false, features = ["clock"] }
clap = { version = "4.5.4", features = ["wrap_help", "cargo", "env"] }
clap_complete = "4.5.2"
clap_mangen = "0.2.20"
crossterm = "0.29.0"
ctor = "0.4.1"
dirs = "6.0.0"
libc = "0.2.154"
nix = { version = "0.30", default-features = false, features = ["process"] }
phf = "0.12.1"
phf_codegen = "0.12.1"
prettytable-rs = "0.10.0"
rand = { version = "0.9.0", features = ["small_rng"] }
ratatui = "0.29.0"
regex = "1.10.4"
sysinfo = "0.35.0"
tempfile = "3.10.1"
terminal_size = "0.4.2"
textwrap = { version = "0.16.1", features = ["terminal_size"] }
thiserror = "2.0.4"
uucore = "0.1.0"
uutests = "0.1.0"
walkdir = "2.5.0"
windows = { version = "0.61.1" }
windows-sys = { version = "0.60.2", default-features = false }
xattr = "1.3.1"
[dependencies]
clap = { workspace = true }
clap_complete = { workspace = true }
clap_mangen = { workspace = true }
phf = { workspace = true }
regex = { workspace = true }
sysinfo = { workspace = true }
textwrap = { workspace = true }
uucore = { workspace = true }
#
free = { optional = true, version = "0.0.1", package = "uu_free", path = "src/uu/free" }
pgrep = { optional = true, version = "0.0.1", package = "uu_pgrep", path = "src/uu/pgrep" }
pidof = { optional = true, version = "0.0.1", package = "uu_pidof", path = "src/uu/pidof" }
pidwait = { optional = true, version = "0.0.1", package = "uu_pidwait", path = "src/uu/pidwait" }
pkill = { optional = true, version = "0.0.1", package = "uu_pkill", path = "src/uu/pkill" }
pmap = { optional = true, version = "0.0.1", package = "uu_pmap", path = "src/uu/pmap" }
ps = { optional = true, version = "0.0.1", package = "uu_ps", path = "src/uu/ps" }
pwdx = { optional = true, version = "0.0.1", package = "uu_pwdx", path = "src/uu/pwdx" }
slabtop = { optional = true, version = "0.0.1", package = "uu_slabtop", path = "src/uu/slabtop" }
snice = { optional = true, version = "0.0.1", package = "uu_snice", path = "src/uu/snice" }
sysctl = { optional = true, version = "0.0.1", package = "uu_sysctl", path = "src/uu/sysctl" }
tload = { optional = true, version = "0.0.1", package = "uu_tload", path = "src/uu/tload" }
top = { optional = true, version = "0.0.1", package = "uu_top", path = "src/uu/top" }
vmstat = { optional = true, version = "0.0.1", package = "uu_vmstat", path = "src/uu/vmstat" }
w = { optional = true, version = "0.0.1", package = "uu_w", path = "src/uu/w" }
watch = { optional = true, version = "0.0.1", package = "uu_watch", path = "src/uu/watch" }
[dev-dependencies]
chrono = { workspace = true }
ctor = { workspace = true }
libc = { workspace = true }
pretty_assertions = "1.4.0"
rand = { workspace = true }
regex = { workspace = true }
tempfile = { workspace = true }
uucore = { workspace = true, features = ["entries", "process", "signals"] }
uutests = { workspace = true }
[target.'cfg(unix)'.dev-dependencies]
xattr = { workspace = true }
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dev-dependencies]
rlimit = "0.10.1"
[build-dependencies]
phf_codegen = { workspace = true }
[[bin]]
name = "procps"
path = "src/bin/procps.rs"
[[bin]]
name = "uudoc"
path = "src/bin/uudoc.rs"
required-features = ["uudoc"]
# The default release profile. It contains all optimizations, without
# sacrificing debug info. With this profile (like in the standard
# release profile), the debug info and the stack traces will still be available.
[profile.release]
lto = true
# A release-like profile that is tuned to be fast, even when being fast
# compromises on binary size. This includes aborting on panic.
[profile.release-fast]
inherits = "release"
panic = "abort"
# A release-like profile that is as small as possible.
[profile.release-small]
inherits = "release"
opt-level = "z"
panic = "abort"
strip = true