oomtop-cli 0.2.0

oomtop: see the OOM coming. Terminal resource monitor for local AI work.
Documentation
# 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 = "2021"
rust-version = "1.89"
name = "oomtop-cli"
version = "0.2.0"
authors = ["oomtop contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "oomtop: see the OOM coming. Terminal resource monitor for local AI work."
homepage = "https://github.com/iprajax/oomtop"
documentation = "https://github.com/iprajax/oomtop/blob/main/docs/cli.md"
readme = "README.md"
keywords = [
    "monitor",
    "memory",
    "tui",
    "oom",
    "mcp",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/iprajax/oomtop"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/oomtop-{ version }-{ target }.tar.gz"
bin-dir = "oomtop-{ version }-{ target }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.aarch64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/oomtop-{ version }-universal-apple-darwin.tar.gz"
bin-dir = "oomtop-{ version }-universal-apple-darwin/{ bin }{ binary-ext }"

[package.metadata.binstall.overrides.x86_64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/oomtop-{ version }-universal-apple-darwin.tar.gz"
bin-dir = "oomtop-{ version }-universal-apple-darwin/{ bin }{ binary-ext }"

[package.metadata.deb]
name = "oomtop"
maintainer = "oomtop contributors <noreply@users.noreply.github.com>"
copyright = "oomtop contributors, MIT License"
license-file = [
    "../../LICENSE",
    "0",
]
extended-description = "Terminal resource monitor for local AI work: true memory accounting (PSS/SwapPss, GPU via NVML and drm fdinfo), attribution of every process to its agent session, app, sandbox or model server, headroom checks, OOM forecast, throttle explanations and an MCP server for agents."
section = "utils"
priority = "optional"
depends = "libc6 (>= 2.28), libgcc-s1 | libgcc1"
assets = [
    [
    "target/release/oomtop",
    "usr/bin/",
    "755",
],
    [
    "../../README.md",
    "usr/share/doc/oomtop/README.md",
    "644",
],
    [
    "../../docs/config.md",
    "usr/share/doc/oomtop/config.md",
    "644",
],
    [
    "../../docs/themes.md",
    "usr/share/doc/oomtop/themes.md",
    "644",
],
    [
    "../../docs/mcp.md",
    "usr/share/doc/oomtop/mcp.md",
    "644",
],
    [
    "../../docs/cli.md",
    "usr/share/doc/oomtop/cli.md",
    "644",
],
]

[package.metadata.generate-rpm]
name = "oomtop"
summary = "Know before you run out of memory: true memory, attribution and headroom for local AI work"
license = "MIT"
auto-req = "no"

[package.metadata.generate-rpm.requires]
glibc = ">= 2.28"
libgcc = "*"

[[package.metadata.generate-rpm.assets]]
source = "target/release/oomtop"
dest = "/usr/bin/oomtop"
mode = "755"

[[package.metadata.generate-rpm.assets]]
source = "../../README.md"
dest = "/usr/share/doc/oomtop/README.md"
mode = "644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "../../docs/config.md"
dest = "/usr/share/doc/oomtop/config.md"
mode = "644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "../../docs/themes.md"
dest = "/usr/share/doc/oomtop/themes.md"
mode = "644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "../../docs/mcp.md"
dest = "/usr/share/doc/oomtop/mcp.md"
mode = "644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "../../docs/cli.md"
dest = "/usr/share/doc/oomtop/cli.md"
mode = "644"
doc = true

[[package.metadata.generate-rpm.assets]]
source = "../../LICENSE"
dest = "/usr/share/licenses/oomtop/LICENSE"
mode = "644"
doc = true

[lib]
name = "oomtop_cli"
path = "src/lib.rs"

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

[[example]]
name = "pipeline_cost"
path = "examples/pipeline_cost.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "docs"
path = "tests/docs.rs"

[[test]]
name = "isolation"
path = "tests/isolation.rs"

[[test]]
name = "ports"
path = "tests/ports.rs"

[[test]]
name = "pty_late_replies"
path = "tests/pty_late_replies.rs"

[[test]]
name = "pty_probe"
path = "tests/pty_probe.rs"

[[test]]
name = "stale"
path = "tests/stale.rs"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.libc]
version = "0.2"

[dependencies.oomtop-adapters]
version = "0.2.0"

[dependencies.oomtop-collect]
version = "0.2.0"

[dependencies.oomtop-config]
version = "0.2.0"

[dependencies.oomtop-core]
version = "0.2.0"

[dependencies.oomtop-detect]
version = "0.2.0"

[dependencies.oomtop-mcp]
version = "0.2.0"

[dependencies.oomtop-serve]
version = "0.2.0"

[dependencies.oomtop-state]
version = "0.2.0"

[dependencies.oomtop-tui]
version = "0.2.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.toml]
version = "1"

[dev-dependencies.sha2]
version = "0.10"

[dev-dependencies.tempfile]
version = "3"

[target.'cfg(target_os = "macos")'.dependencies.tikv-jemallocator]
version = "0.6"