[package]
edition = "2024"
rust-version = "1.95"
name = "memview"
version = "1.0.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Linux-only ncdu-like TUI for attributing RAM across processes, tmpfs, shm, and kernel counters"
readme = "README.md"
keywords = [
"linux",
"memory",
"procfs",
"tmpfs",
"tui",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://git.swarm.moe/r/memview/"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-unknown-linux-gnu"]
[[bin]]
name = "memview"
path = "src/main.rs"
[target.'cfg(target_os = "linux")'.dependencies.clap]
version = "4.6.1"
features = ["derive"]
[target.'cfg(target_os = "linux")'.dependencies.color-eyre]
version = "0.6.5"
[target.'cfg(target_os = "linux")'.dependencies.crossterm]
version = "0.29.0"
[target.'cfg(target_os = "linux")'.dependencies.ratatui]
version = "0.30.0"
features = ["crossterm"]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.regex]
version = "1.12.2"
[target.'cfg(target_os = "linux")'.dependencies.rustix]
version = "1.1.4"
features = ["process"]
[target.'cfg(target_os = "linux")'.dependencies.uzers]
version = "0.12.2"
[target.'cfg(target_os = "linux")'.dependencies.walkdir]
version = "2.5.0"
[lints.clippy]
allow_attributes_without_reason = "deny"
cargo_common_metadata = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
enum_glob_use = "allow"
expect_used = "deny"
float_cmp = "allow"
ignored_unit_patterns = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
no_effect_underscore_binding = "allow"
panic = "deny"
redundant_closure_for_method_calls = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_field_names = "allow"
todo = "deny"
too_many_arguments = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unimplemented = "deny"
uninlined_format_args = "allow"
unnested_or_patterns = "allow"
unused_async = "allow"
unwrap_used = "deny"
used_underscore_binding = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "deny"
priority = -2
[lints.clippy.cargo]
level = "warn"
priority = -3
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
ambiguous_glob_imports = "allow"
ambiguous_glob_reexports = "allow"
elided_lifetimes_in_paths = "deny"
hidden_glob_reexports = "allow"
unexpected_cfgs = "deny"
unsafe_code = "deny"
unused_crate_dependencies = "warn"
unused_lifetimes = "deny"
unused_qualifications = "deny"
unused_results = "deny"
warnings = "deny"
[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"